X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1bc8d9f92a3fde4e9d33213a1df46992478f369..74a50e49237c9cb484d32223fd65ef3f8666309a:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 89c6390b6a..72073cf314 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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(this)); GTKProcessEvent(eventChildFocus); wxFocusEvent eventFocus(wxEVT_SET_FOCUS, GetId());