X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1bc8d9f92a3fde4e9d33213a1df46992478f369..e402863ff6795e40eab55deb90250b759dc63e2c:/src/gtk/window.cpp?ds=inline 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());