detect and report errors in XRC specification of grid sizers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2009-03-16 13:33:39 +00:00
parent 159852aeae
commit afc0db8ca0
3 changed files with 82 additions and 7 deletions

View File

@@ -741,15 +741,16 @@ public:
int GetVGap() const { return m_vgap; }
int GetHGap() const { return m_hgap; }
// return the number of total items and the number of columns and rows
// (for internal use only)
int CalcRowsCols(int& rows, int& cols) const;
protected:
int m_rows;
int m_cols;
int m_vgap;
int m_hgap;
// return the number of total items and the number of columns and rows
int CalcRowsCols(int& rows, int& cols) const;
void SetItemBounds( wxSizerItem *item, int x, int y, int w, int h );
private: