X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23bed520417f9946f01bbcf2f18c26a7bc3cb2a7..f9ee64b1356530b7f5c957d250d2a1dcbef60f60:/wxPython/src/windows.i diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index d2f44fd990..a72fb75ab5 100644 --- a/wxPython/src/windows.i +++ b/wxPython/src/windows.i @@ -374,6 +374,10 @@ public: void SetSizer(wxSizer* sizer); wxSizer* GetSizer(); + // Track if this window is a member of a sizer + void SetContainingSizer(wxSizer* sizer) { m_containingSizer = sizer; } + wxSizer *GetContainingSizer() const { return m_containingSizer; } + wxValidator* GetValidator(); void SetValidator(const wxValidator& validator);