]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/choice_osx.cpp
adapting to new event version
[wxWidgets.git] / src / osx / choice_osx.cpp
index d7ea4197fa66b5e3d7ba58cca5a545cdc8a278ee..fd9a59daa77e270d20f60301aa19f57f0f6d306d 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     1998-01-01
-// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -236,7 +235,7 @@ void * wxChoice::DoGetItemClientData(unsigned int n) const
 
 bool wxChoice::OSXHandleClicked( double WXUNUSED(timestampsec) )
 {
-    SendSelectionChangedEvent(wxEVT_COMMAND_CHOICE_SELECTED);
+    SendSelectionChangedEvent(wxEVT_CHOICE);
 
     return true ;
 }