1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
2. also implement Getcolumn/RowCount() in it now and document them 3. removed various remains of old (pre-wxRadioBoxBase) cruft sorry in advance for any compilation breakage on the platforms I can't test on git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,8 +92,6 @@ public:
|
||||
virtual bool Show(int n, bool show = true);
|
||||
virtual bool IsItemEnabled(int n) const;
|
||||
virtual bool IsItemShown(int n) const;
|
||||
virtual int GetColumnCount() const { return GetNumHor(); }
|
||||
virtual int GetRowCount() const { return GetNumVer(); }
|
||||
|
||||
// override some base class methods
|
||||
virtual bool Show(bool show = true);
|
||||
@@ -117,10 +115,6 @@ public:
|
||||
|
||||
void SendNotificationEvent();
|
||||
|
||||
// get the number of buttons per column/row
|
||||
int GetNumVer() const;
|
||||
int GetNumHor() const;
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
@@ -158,10 +152,6 @@ protected:
|
||||
int *m_radioWidth;
|
||||
int *m_radioHeight;
|
||||
|
||||
// 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)
|
||||
int m_majorDim;
|
||||
|
||||
// currently selected button or wxNOT_FOUND if none
|
||||
int m_selectedButton;
|
||||
|
||||
|
Reference in New Issue
Block a user