X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a237731e1c3cdcd8b7b5c9c329d571739f447199..8d5ff32d33ad07acb9c1824368fbbe954b601bbb:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index d9ea1aa400..55d9558f67 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -748,7 +748,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const size_t i = 0; GtkNotebook * notebook = GTK_NOTEBOOK(m_widget); - if (gtk_notebook_get_scrollable(notebook)); + if (gtk_notebook_get_scrollable(notebook)) i = g_list_position( notebook->children, notebook->first_tab ); for ( ; i < count; i++ )