]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
Fixed the drawing of the HRules so they don't try to iterate over all
[wxWidgets.git] / src / gtk1 / window.cpp
index 9dac9b8c8f7ee7df31d13195bc17f758423f936d..8a1f5c0cb9ea0ff3410ed7b92ca48054ff6b1264 100644 (file)
@@ -1694,8 +1694,8 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget,
 
     // notify the parent keeping track of focus for the kbd navigation
     // purposes that we got it
 
     // notify the parent keeping track of focus for the kbd navigation
     // purposes that we got it
-    wxChildFocusEvent eventFocus(this);
-    (void)GetEventHandler()->ProcessEvent(eventFocus);
+    wxChildFocusEvent eventFocus(win);
+    (void)win->GetEventHandler()->ProcessEvent(eventFocus);
 
 #ifdef HAVE_XIM
     if (win->m_ic)
 
 #ifdef HAVE_XIM
     if (win->m_ic)