X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba763a45d85d8b70326da65895b7753f86fc3ea3..045c57efc3c2358eaf3781d9e0b33f7f2e4a036b:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 665a26b5dd..ade5aea748 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -26,9 +26,9 @@ // classes //--------------------------------------------------------------------------- -class wxSizerItem; -class wxSizer; -class wxBoxSizer; +class WXDLLEXPORT wxSizerItem; +class WXDLLEXPORT wxSizer; +class WXDLLEXPORT wxBoxSizer; //--------------------------------------------------------------------------- // wxSizerItem @@ -198,6 +198,9 @@ public: wxObject* userData = NULL ); virtual void Add( wxSizerItem *item ); + virtual void AddSpacer(int size); + virtual void AddStretchSpacer(int prop = 1); + virtual void Insert( size_t index, wxWindow *window, int proportion = 0, @@ -220,6 +223,9 @@ public: virtual void Insert( size_t index, wxSizerItem *item ); + virtual void InsertSpacer(size_t index, int size); + virtual void InsertStretchSpacer(size_t index, int prop = 1); + virtual void Prepend( wxWindow *window, int proportion = 0, int flag = 0, @@ -238,6 +244,9 @@ public: wxObject* userData = NULL ); virtual void Prepend( wxSizerItem *item ); + virtual void PrependSpacer(int size); + virtual void PrependStretchSpacer(int prop = 1); + // Deprecated in 2.6 since historically it does not delete the window, // use Detach instead. wxDEPRECATED( virtual bool Remove( wxWindow *window ) ); @@ -549,7 +558,7 @@ public: protected: // this protected ctor lets us mark the real one above as deprecated - // and still has warning-free build of the library itself: + // and still have warning-free build of the library itself: wxBookCtrlSizer() {} wxBookCtrl *m_bookctrl;