/////////////////////////////////////////////////////////////////////////////
-// Name: common/choiccmn.cpp
+// Name: src/common/choiccmn.cpp
// Purpose: common (to all ports) wxChoice functions
// Author: Vadim Zeitlin
// Modified by:
#if wxUSE_CHOICE
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#endif
-WXDLLIMPEXP_DATA_CORE(const wxChar) wxChoiceNameStr[] = wxT("choice");
+const char wxChoiceNameStr[] = "choice";
// ============================================================================
// implementation
void wxChoiceBase::Command(wxCommandEvent& event)
{
SetSelection(event.GetInt());
- (void)ProcessEvent(event);
+ (void)GetEventHandler()->ProcessEvent(event);
}
#endif // wxUSE_CHOICE
-