Simplified sizing code. Sub-windows are now sized explicitly in wxGrid::CalcWindowSizes().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward
2000-02-09 07:17:12 +00:00
parent c3e4873f84
commit 7807d81c73
2 changed files with 46 additions and 155 deletions

View File

@@ -866,10 +866,6 @@ protected:
wxGridColLabelWindow *m_colLabelWin;
wxGridCornerLabelWindow *m_cornerLabelWin;
wxBoxSizer *m_mainSizer;
wxBoxSizer *m_topSizer;
wxBoxSizer *m_middleSizer;
wxGridTableBase *m_table;
int m_left;
@@ -948,6 +944,7 @@ protected:
void Create();
void Init();
void CalcDimensions();
void CalcWindowSizes();
bool Redimension( wxGridTableMessage& );