X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..ad653fa23069c5d9378247084f03c9a718c3ad62:/src/msw/wince/choicece.cpp diff --git a/src/msw/wince/choicece.cpp b/src/msw/wince/choicece.cpp index 60cc401802..646458e4cf 100644 --- a/src/msw/wince/choicece.cpp +++ b/src/msw/wince/choicece.cpp @@ -34,12 +34,6 @@ #include "wx/spinbutt.h" // for wxSpinnerBestSize -#if wxUSE_EXTENDED_RTTI -// TODO -#else -IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl) -#endif - #define GetBuddyHwnd() (HWND)(m_hwndBuddy) #define IsVertical(wxStyle) ( (wxStyle & wxSP_HORIZONTAL) != wxSP_HORIZONTAL ) @@ -252,7 +246,7 @@ bool wxChoice::CreateAndInit(wxWindow *parent, (void)::SendMessage(GetHwnd(), UDM_SETBUDDY, (WPARAM)GetBuddyHwnd(), 0); // do it after finishing with m_hwndBuddy creation to avoid generating - // initial wxEVT_COMMAND_TEXT_UPDATED message + // initial wxEVT_TEXT message ms_allChoiceSpins.Add(this); // initialize the controls contents @@ -309,7 +303,7 @@ bool wxChoice::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) int n = GetSelection(); if (n > -1) { - wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, m_windowId); + wxCommandEvent event(wxEVT_CHOICE, m_windowId); event.SetInt(n); event.SetEventObject(this); event.SetString(GetStringSelection());