]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
corrected off by 1 error in cMB2WC() call (thanks valgrind)
[wxWidgets.git] / src / gtk / window.cpp
index 53a169c6c0f9ff8263b917a39638d79f0967c769..ccb4500d436d9297cd9514efcc6910a419979067 100644 (file)
@@ -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;