]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
Fix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container...
[wxWidgets.git] / src / gtk1 / choice.cpp
index 1a17d2d027f087292a1af217509a617677fbd35d..a822e02ca63a0720f55cc9584c6b8b8de563483d 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk1/choice.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -66,7 +65,7 @@ static void gtk_choice_clicked_callback( GtkWidget *WXUNUSED(widget), wxChoice *
 
     choice->m_selection_hack = selection;
 
-    wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, choice->GetId() );
+    wxCommandEvent event(wxEVT_CHOICE, choice->GetId() );
     int n = choice->GetSelection();
 
     event.SetInt( n );