X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23bed520417f9946f01bbcf2f18c26a7bc3cb2a7..90f3fe56ee58fec86d7f938f9c630c0745f0a2dc:/wxPython/src/windows.i diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index d2f44fd990..f16f0f6976 100644 --- a/wxPython/src/windows.i +++ b/wxPython/src/windows.i @@ -371,9 +371,13 @@ public: void SetToolTip(wxToolTip *tooltip); wxToolTip* GetToolTip(); - void SetSizer(wxSizer* sizer); + void SetSizer(wxSizer* sizer, bool deleteOld=TRUE); wxSizer* GetSizer(); + // Track if this window is a member of a sizer + void SetContainingSizer(wxSizer* sizer); + wxSizer *GetContainingSizer() const; + wxValidator* GetValidator(); void SetValidator(const wxValidator& validator); @@ -384,6 +388,7 @@ public: #endif wxSize GetBestSize(); + wxSize GetMaxSize(); void SetCaret(wxCaret *caret); wxCaret *GetCaret(); @@ -423,8 +428,8 @@ public: void OnPaint(wxPaintEvent& event); #endif - wxButton* GetDefaultItem(); - void SetDefaultItem(wxButton *btn); + wxWindow* GetDefaultItem(); + wxWindow* SetDefaultItem(wxWindow *btn); }; @@ -534,6 +539,8 @@ public: double GetScaleY(); void AdjustScrollbars(); + + bool Layout(); }; //----------------------------------------------------------------------