X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/792255cc6d3dfd55626c821bb8fdea48bfe919ba..95b4a59e67af301bb6ff061055ac5a9a09b96d6c:/interface/wx/choice.h?ds=sidebyside diff --git a/interface/wx/choice.h b/interface/wx/choice.h index 57e03c6dfc..0ad3fdbef2 100644 --- a/interface/wx/choice.h +++ b/interface/wx/choice.h @@ -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); };