- // return the item above/below/to the left/right of the given one
- int GetNextItem(int item, wxDirection dir, long style) const;
-
- // for compatibility only, don't use these methods in new code!
-#if WXWIN_COMPATIBILITY_2_2
- int Number() const { return GetCount(); }
- wxString GetLabel(int n) const { return GetString(n); }
- void SetLabel(int n, const wxString& label) { SetString(n, label); }
-#endif // WXWIN_COMPATIBILITY_2_2
+private:
+ // the number of elements in major dimension (i.e. number of columns if
+ // wxRA_SPECIFY_COLS or the number of rows if wxRA_SPECIFY_ROWS) and also
+ // the number of rows/columns calculated from it
+ int m_majorDim,
+ m_numCols,
+ m_numRows;