Set m_rows, m_cols so GetRows/GetCols in the base class work. Added
GetCellSize method. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -202,6 +202,10 @@ public:
|
||||
wxSize GetEmptyCellSize() const { return m_emptyCellSize; }
|
||||
void SetEmptyCellSize(const wxSize& sz) { m_emptyCellSize = sz; }
|
||||
|
||||
// Get the size of the specified cell, including hgap and vgap. Only
|
||||
// valid after a Layout.
|
||||
wxSize GetCellSize(int row, int col) const;
|
||||
|
||||
// Get the grid position of the specified item (non-recursive)
|
||||
wxGBPosition GetItemPosition(wxWindow *window);
|
||||
wxGBPosition GetItemPosition(wxSizer *sizer);
|
||||
|
Reference in New Issue
Block a user