void , SetGBSizer(wxGridBagSizer* sizer),
"Set the sizer this item is a member of.", "");
+ %property(EndPos, GetEndPos, doc="See `GetEndPos`");
+ %property(GBSizer, GetGBSizer, SetGBSizer, doc="See `GetGBSizer` and `SetGBSizer`");
+ %property(Pos, GetPos, SetPos, doc="See `GetPos` and `SetPos`");
+ %property(Span, GetSpan, SetSpan, doc="See `GetSpan` and `SetSpan`");
};
not found. (non-recursive)", "");
wxGBSizerItem* FindItem(wxWindow* window);
wxGBSizerItem* FindItem(wxSizer* sizer);
-
+ %pythoncode {
+ def GetItem(self, item):
+ gbsi = None
+ si = wx.FlexGridSizer.GetItem(self, item)
+ if not si:
+ return None
+ if type(item) is not int:
+ gbsi = self.FindItem(item)
+ if gbsi: return gbsi
+ return si
+ }
DocDeclStr(
wxGBSizerItem* , FindItemAtPosition(const wxGBPosition& pos),
position of.", "",
CheckForIntersectionPos);
-
};