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:
parent
0be79c8a80
commit
7a3ba5af83
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user