Finished porting Robin's wxSizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
class wxNewSizerItem;
|
||||
class wxNewSizer;
|
||||
class wxBorderNewSizer;
|
||||
class wxBoxNewSizer;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -136,6 +137,29 @@ protected:
|
||||
int m_sides;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// wxBoxNewSizer
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxBoxNewSizer: public wxNewSizer
|
||||
{
|
||||
public:
|
||||
wxBoxNewSizer( int orient );
|
||||
|
||||
void RecalcSizes();
|
||||
wxSize CalcMin();
|
||||
|
||||
int GetOrientation()
|
||||
{ return m_orient; }
|
||||
|
||||
protected:
|
||||
int m_orient;
|
||||
int m_stretchable;
|
||||
int m_minWidth;
|
||||
int m_minHeight;
|
||||
int m_fixedWidth;
|
||||
int m_fixedHeight;
|
||||
};
|
||||
|
||||
#endif
|
||||
// __WXSIZER_H__
|
||||
|
Reference in New Issue
Block a user