]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
fixed loop deleting the old filters in SetWildcard() after last commit
[wxWidgets.git] / src / gtk1 / choice.cpp
index 58aff17892a820feb5f2da862c1ded87f3967877..59d5402c12c206b84daf8d170c446298d3ba8614 100644 (file)
@@ -61,7 +61,7 @@ static void gtk_choice_clicked_callback( GtkWidget *WXUNUSED(widget), wxChoice *
         GtkBin *bin = GTK_BIN( child->data );
         if (!bin->child)
         {
-            selection = count:
+            selection = count;
             break;
         }
         child = child->next;
@@ -569,7 +569,7 @@ int wxChoice::GtkAddHelper(GtkWidget *menu, int pos, const wxString& item)
     // it has to change. Adapted from Matt Ownby.
     InvalidateBestSize();
     
-    gtk_signal_connect( GTK_OBJECT( menu_item ), "activate",
+    gtk_signal_connect_after( GTK_OBJECT( menu_item ), "activate",
       GTK_SIGNAL_FUNC(gtk_choice_clicked_callback), (gpointer*)this );
 
     gtk_widget_show( menu_item );