wxGTK/Univ compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-07-18 22:01:06 +00:00
parent 0be79c8a80
commit 7a3ba5af83
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View 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;