X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6728fb611b9812c9d72ebedf5c04ef242aedcd2d..946fb2b9dd3be2f4805ddb2aca67e11f6f7c4cdd:/src/gtk1/window.cpp diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 4630c80600..bad1ac7648 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -3263,7 +3263,7 @@ void wxWindowGTK::SetFocus() } } - (void)DoSendFocusEvents(this); + (void)DoSendFocusEvents((wxWindow*)this); } bool wxWindowGTK::AcceptsFocus() const @@ -3485,7 +3485,7 @@ void wxWindowGTK::GtkSendPaintEvents() while (parent && !parent->IsTopLevel()) parent = parent->GetParent(); if (!parent) - parent = this; + parent = (wxWindow*)this; wxRegionIterator upd( m_updateRegion ); while (upd)