X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64fa6f167ebb404e5441eddcee5bbd0808466d7a..978d3d3647fde4362cfe8b7b2b505ba1cc52770a:/include/wx/choice.h diff --git a/include/wx/choice.h b/include/wx/choice.h index 12bf96c6e0..ea08445c75 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -20,6 +20,8 @@ #pragma interface "choicebase.h" #endif +#include "wx/defs.h" + #if wxUSE_CHOICE #include "wx/ctrlsub.h" // the base class @@ -42,12 +44,6 @@ public: // all generic methods are in wxControlWithItems - // single selection logic - virtual void SetSelection(int n) = 0; - - // don't override this - virtual void Select(int n) { SetSelection(n); } - // set/get the number of columns in the control (as they're not supported on // most platforms, they do nothing by default) virtual void SetColumns(int WXUNUSED(n) = 1 ) { }