]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
add missing parens to bitwise expression
[wxWidgets.git] / src / gtk1 / window.cpp
index eb6d484896cade8008974a31eabd9f0f23359a26..d74a0e0e3fae2d1290eb6b0741de7c328f7e94fb 100644 (file)
@@ -1475,7 +1475,7 @@ static gint gtk_window_button_press_callback( GtkWidget *widget,
 
     g_lastButtonNumber = gdk_event->button;
 
-    if (win->m_wxwindow && (g_focusWindow != win) && win->CanAcceptFocus())
+    if (win->m_wxwindow && (g_focusWindow != win) && win->IsFocusable())
     {
         gtk_widget_grab_focus( win->m_wxwindow );
 /*