]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/choice.cpp
missing commit
[wxWidgets.git] / src / motif / choice.cpp
index 7557887c05d906fcd3376998c27f532629687ef8..39b0f030860affe7ab284632d64ed05241fc6624 100644 (file)
@@ -411,7 +411,7 @@ void wxChoiceCallback (Widget w, XtPointer clientData, XtPointer WXUNUSED(ptr))
         int n = item->GetWidgets().Index(w);
         if (n != wxNOT_FOUND)
         {
-            wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, item->GetId());
+            wxCommandEvent event(wxEVT_CHOICE, item->GetId());
             event.SetEventObject(item);
             event.SetInt(n);
             event.SetString( item->GetStrings().Item(n) );