]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/combobox.cpp
missing commit
[wxWidgets.git] / src / os2 / combobox.cpp
index 81590e0f99d048d6b5c3daa53a97902322d56f32..2e3d4f6371dcf84aada86ada6b489385ce381b1f 100644 (file)
@@ -45,7 +45,7 @@ bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) )
         case CBN_LBSELECT:
             if (lSel > -1)
             {
         case CBN_LBSELECT:
             if (lSel > -1)
             {
-                wxCommandEvent vEvent( wxEVT_COMMAND_COMBOBOX_SELECTED, GetId() );
+                wxCommandEvent vEvent( wxEVT_COMBOBOX, GetId() );
 
                 vEvent.SetInt(lSel);
                 vEvent.SetEventObject(this);
 
                 vEvent.SetInt(lSel);
                 vEvent.SetEventObject(this);
@@ -57,7 +57,7 @@ bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) )
 
         case CBN_EFCHANGE:
             {
 
         case CBN_EFCHANGE:
             {
-                wxCommandEvent vEvent( wxEVT_COMMAND_TEXT_UPDATED, GetId() );
+                wxCommandEvent vEvent( wxEVT_TEXT, GetId() );
 
                 if (lSel == -1L)
                     sValue = GetValue();
 
                 if (lSel == -1L)
                     sValue = GetValue();