]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
no changes, just removed broken #if 0'd out code
[wxWidgets.git] / src / gtk / window.cpp
index 89c6390b6a09512eef0dafa963677e48d1b43a1c..72073cf314712e6f96498c63a7c1da98c08c2b9b 100644 (file)
@@ -2912,7 +2912,7 @@ bool wxWindowGTK::GTKHandleFocusIn()
 
     // Notify the parent keeping track of focus for the kbd navigation
     // purposes that we got it.
-    wxChildFocusEvent eventChildFocus(this);
+    wxChildFocusEvent eventChildFocus(static_cast<wxWindow*>(this));
     GTKProcessEvent(eventChildFocus);
 
     wxFocusEvent eventFocus(wxEVT_SET_FOCUS, GetId());