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:
Robert Roebling
1999-08-08 21:09:59 +00:00
parent c62ac5b6e4
commit 61d514bb2f
3 changed files with 208 additions and 5 deletions

View File

@@ -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__