diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 58aff17892..a2fa3409c8 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -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; diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index 58aff17892..a2fa3409c8 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/choice.cpp @@ -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;