X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..5b05d3ee52cb31caa856c9982eaeb2fcf5b5f78e:/src/univ/choice.cpp?ds=sidebyside diff --git a/src/univ/choice.cpp b/src/univ/choice.cpp index 9115f4de78..d1d5312f36 100644 --- a/src/univ/choice.cpp +++ b/src/univ/choice.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: univ/choice.cpp +// Name: src/univ/choice.cpp // Purpose: wxChoice implementation // Author: Vadim Zeitlin // Modified by: @@ -25,12 +25,13 @@ #if wxUSE_CHOICE +#include "wx/choice.h" + #ifndef WX_PRECOMP - #include "wx/choice.h" #include "wx/arrstr.h" #endif -IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems) BEGIN_EVENT_TABLE(wxChoice, wxComboBox) EVT_COMBOBOX(wxID_ANY, wxChoice::OnComboBox)