X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/792255cc6d3dfd55626c821bb8fdea48bfe919ba..920b92a3fd568f012a8f7814d56640cb729ba993:/interface/wx/choice.h diff --git a/interface/wx/choice.h b/interface/wx/choice.h index 57e03c6dfc..7ea14bb7a3 100644 --- a/interface/wx/choice.h +++ b/interface/wx/choice.h @@ -26,7 +26,7 @@ @library{wxcore} @category{ctrl} - + @appearance{choice.png} @see wxListBox, wxComboBox, wxCommandEvent */ @@ -123,7 +123,7 @@ public: /** Destructor, destroying the choice item. */ - ~wxChoice(); + virtual ~wxChoice(); //@{ /** @@ -150,7 +150,7 @@ public: @remarks This is implemented for GTK and Motif only and always returns 1 for the other platforms. */ - int GetColumns() const; + virtual int GetColumns() const; /** Unlike wxControlWithItems::GetSelection() which only returns the @@ -164,7 +164,7 @@ public: In older versions, wxControlWithItems::GetSelection() itself behaved like this. */ - int GetCurrentSelection() const; + virtual int GetCurrentSelection() const; /** Sets the number of columns in this choice item. @@ -175,6 +175,6 @@ public: @remarks This is implemented for GTK and Motif only and doesn’t do anything under other platforms. */ - void SetColumns(int n = 1); + virtual void SetColumns(int n = 1); };