Calss interface updates (wxMotif-only).
Made wxCheckBox inherit from wxChekBoxBase. Corrected virtual function hiding in wxListBox. Made wxRadioBox inherit from wxRadioBoxBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,7 @@ WXDLLEXPORT_DATA(extern const char*) wxRadioBoxNameStr;
|
||||
// List box item
|
||||
class WXDLLEXPORT wxBitmap ;
|
||||
|
||||
class WXDLLEXPORT wxRadioBox : public wxControl
|
||||
class WXDLLEXPORT wxRadioBox : public wxControl, public wxRadioBoxBase
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS(wxRadioBox)
|
||||
|
||||
@@ -50,12 +50,9 @@ public:
|
||||
int FindString(const wxString& s) const;
|
||||
void SetSelection(int N);
|
||||
int GetSelection() const;
|
||||
wxString GetString(int N) const;
|
||||
|
||||
void SetLabel(const wxString& label) { wxControl::SetLabel(label); };
|
||||
void SetLabel(int item, const wxString& label) ;
|
||||
wxString GetLabel(int item) const;
|
||||
wxString GetLabel() const { return wxControl::GetLabel(); };
|
||||
void SetString(int item, const wxString& label) ;
|
||||
wxString GetString(int item) const;
|
||||
virtual bool Enable(bool enable = TRUE);
|
||||
void Enable(int item, bool enable);
|
||||
void Show(int item, bool show) ;
|
||||
@@ -66,6 +63,9 @@ public:
|
||||
virtual int GetCount() const { return m_noItems; } ;
|
||||
void Command(wxCommandEvent& event);
|
||||
|
||||
int GetColumnCount() const;
|
||||
int GetRowCount() const;
|
||||
|
||||
int GetNumberOfRowsOrCols() const { return m_noRowsOrCols; }
|
||||
void SetNumberOfRowsOrCols(int n) { m_noRowsOrCols = n; }
|
||||
|
||||
|
Reference in New Issue
Block a user