Use wxFALLTHROUGH

This commit is contained in:
Paul Cornett
2017-10-17 09:21:45 -07:00
parent 4ec80a35f9
commit ed8a541463
5 changed files with 6 additions and 2 deletions

View File

@@ -155,6 +155,7 @@ static gboolean gtk_frame_focus_in_callback( GtkWidget *widget,
default:
g_source_remove( win->m_urgency_hint );
// no break, fallthrough to remove hint too
wxFALLTHROUGH;
case -1:
gtk_window_set_urgency_hint(GTK_WINDOW(widget), false);
win->m_urgency_hint = -2;