// classes
//---------------------------------------------------------------------------
+class wxStaticBox;
+
class wxSizerItem;
class wxSizer;
-class wxBox;
+class wxBoxSizer;
+class wxStaticBoxSizer;
//---------------------------------------------------------------------------
// wxSizerItem
virtual void Add( wxSizer *sizer, int option = 0, int flag = 0, int border = 0 );
virtual void Add( int width, int height, int option = 0, int flag = 0, int border = 0 );
+ virtual void Prepend( wxWindow *window, int option = 0, int flag = 0, int border = 0 );
+ virtual void Prepend( wxSizer *sizer, int option = 0, int flag = 0, int border = 0 );
+ virtual void Prepend( int width, int height, int option = 0, int flag = 0, int border = 0 );
+
+ virtual bool Remove( wxWindow *window );
+ virtual bool Remove( wxSizer *sizer );
+ virtual bool Remove( int pos );
+
void SetDimension( int x, int y, int width, int height );
wxSize GetSize()
};
//---------------------------------------------------------------------------
-// wxBox
+// wxBoxSizer
//---------------------------------------------------------------------------
-class WXDLLEXPORT wxBox: public wxSizer
+class WXDLLEXPORT wxBoxSizer: public wxSizer
{
public:
- wxBox( int orient );
+ wxBoxSizer( int orient );
void RecalcSizes();
wxSize CalcMin();
int m_fixedHeight;
};
+//---------------------------------------------------------------------------
+// wxStaticBoxSizer
+//---------------------------------------------------------------------------
+
+class WXDLLEXPORT wxStaticBoxSizer: public wxBoxSizer
+{
+public:
+ wxStaticBoxSizer( wxStaticBox *box, int orient );
+
+ void RecalcSizes();
+ wxSize CalcMin();
+
+ wxStaticBox *GetStaticBox()
+ { return m_staticBox; }
+
+protected:
+ wxStaticBox *m_staticBox;
+};
+
#endif
// __WXSIZER_H__