]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
Include missing.h to find O_* flags.
[wxWidgets.git] / src / gtk / window.cpp
index 46c6c781c79bc3cea52b206c6ca2779bcf69404c..5b78c8b40e63438ad5409bf0da98dbb6f4e9aab4 100644 (file)
@@ -3655,7 +3655,7 @@ void wxWindowGTK::SetFocus()
 #ifndef __WXGTK20__
         if (GTK_IS_CONTAINER(m_widget))
         {
-            gtk_container_focus( GTK_CONTAINER(w), GTK_DIR_TAB_FORWARD );
+            gtk_container_focus( GTK_CONTAINER(m_widget), GTK_DIR_TAB_FORWARD );
         }
         else
 #endif