]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/listbox.mm
fixing sdk compilo
[wxWidgets.git] / src / osx / cocoa / listbox.mm
index 199363d24787c89f2c8ec66e0bb9713523e04fcc..5bfef6d04703845b727c3b93345654e28628f771 100644 (file)
@@ -303,7 +303,7 @@ protected:
         wxListBox *list = static_cast<wxListBox*> ( impl->GetWXPeer());
         wxCHECK_RET( list != NULL , wxT("Listbox expected"));
         
-        wxCommandEvent event( wxEVT_COMMAND_LISTBOX_SELECTED, list->GetId() );
+        wxCommandEvent event( wxEVT_LISTBOX, list->GetId() );
         
         if ((row < 0) || (row > (int) list->GetCount()))  // OS X can select an item below the last item
             return;