X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60869e7219b33bcb612a5fbec3cec9b5e8cff1f9..8ca1a013e4e699724040ff1f514dab3b4a11d3c9:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 53a169c6c0..ccb4500d43 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3388,7 +3388,7 @@ bool wxWindowGTK::DoNavigateIn(int flags) } else // navigate inside the container { - wxWindow *parent = wxGetTopLevelParent(this); + wxWindow *parent = wxGetTopLevelParent((wxWindow *)this); wxCHECK_MSG( parent, false, _T("every window must have a TLW parent") ); GtkDirectionType dir;