From: Vadim Zeitlin Date: Wed, 18 Jul 2007 22:01:06 +0000 (+0000) Subject: wxGTK/Univ compilation fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7a3ba5af8359ebeef7388e4919c7d1a7415b48e7 wxGTK/Univ compilation fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index 1aa9e22b6b..6e1048917c 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -110,7 +110,7 @@ gtk_dialog_realized_callback( GtkWidget * WXUNUSED(widget), wxPopupWindow *win ) * virtual function here as wxWidgets requires different ways to insert * a child in container classes. */ -static void wxInsertChildInPopupWin(wxWindow* parent, wxWindow* child) +static void wxInsertChildInPopupWin(wxWindowGTK* parent, wxWindowGTK* child) { gtk_pizza_put( GTK_PIZZA(parent->m_wxwindow), child->m_widget, 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;