]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/choice.cpp
Add doc for wxGraphicsContext.Create(), which is a lightweight context with no target...
[wxWidgets.git] / src / univ / choice.cpp
index 5bb5b0020b2db5d86d30f87c3e4a68616d91c88b..eb42fccad6d0e0d4911598ed4f5a7644e51602c8 100644 (file)
@@ -81,7 +81,7 @@ void wxChoice::OnComboBox(wxCommandEvent& event)
 {
     if ( event.GetId() == GetId() )
     {
 {
     if ( event.GetId() == GetId() )
     {
-        event.SetEventType(wxEVT_COMMAND_CHOICE_SELECTED);
+        event.SetEventType(wxEVT_CHOICE);
         event.Skip();
         GetEventHandler()->ProcessEvent(event);
     }
         event.Skip();
         GetEventHandler()->ProcessEvent(event);
     }