Appears to be returning a raw SWIG object, not wrapped as a wx.Rect2D. I took a look at the .i files via viewcvs (I don't have source here) and I can't see anything wrong, maybe it's already fixed?