Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,19 +67,19 @@ public:
|
||||
virtual wxString GetString(int item) const;
|
||||
virtual void SetString(int item, const wxString& label) ;
|
||||
|
||||
virtual void Enable(int item, bool enable);
|
||||
virtual bool Enable(int item, bool enable = true);
|
||||
virtual void Show(int item, bool show) ;
|
||||
|
||||
virtual int GetColumnCount() const ;
|
||||
virtual int GetRowCount() const ;
|
||||
|
||||
|
||||
virtual bool Enable(bool enable = TRUE);
|
||||
virtual bool Enable(bool enable = true);
|
||||
virtual wxString GetLabel() const;
|
||||
virtual void SetLabel(const wxString& label) ;
|
||||
virtual bool Show(bool show = TRUE);
|
||||
virtual bool Show(bool show = true);
|
||||
|
||||
// Other external functions
|
||||
// Other external functions
|
||||
void Command(wxCommandEvent& event);
|
||||
void SetFocus();
|
||||
|
||||
@@ -95,7 +95,7 @@ protected:
|
||||
int m_noItems;
|
||||
int m_noRowsOrCols;
|
||||
|
||||
// Internal functions
|
||||
// Internal functions
|
||||
virtual wxSize DoGetBestSize() const ;
|
||||
virtual void DoSetSize(int x, int y,
|
||||
int width, int height,
|
||||
|
@@ -67,19 +67,18 @@ public:
|
||||
virtual wxString GetString(int item) const;
|
||||
virtual void SetString(int item, const wxString& label) ;
|
||||
|
||||
virtual void Enable(int item, bool enable);
|
||||
virtual bool Enable(int item, bool enable = true);
|
||||
virtual void Show(int item, bool show) ;
|
||||
|
||||
virtual int GetColumnCount() const ;
|
||||
virtual int GetRowCount() const ;
|
||||
|
||||
|
||||
virtual bool Enable(bool enable = TRUE);
|
||||
virtual bool Enable(bool enable = true);
|
||||
virtual wxString GetLabel() const;
|
||||
virtual void SetLabel(const wxString& label) ;
|
||||
virtual bool Show(bool show = TRUE);
|
||||
virtual bool Show(bool show = true);
|
||||
|
||||
// Other external functions
|
||||
// Other external functions
|
||||
void Command(wxCommandEvent& event);
|
||||
void SetFocus();
|
||||
|
||||
@@ -95,7 +94,7 @@ protected:
|
||||
int m_noItems;
|
||||
int m_noRowsOrCols;
|
||||
|
||||
// Internal functions
|
||||
// Internal functions
|
||||
virtual wxSize DoGetBestSize() const ;
|
||||
virtual void DoSetSize(int x, int y,
|
||||
int width, int height,
|
||||
|
Reference in New Issue
Block a user