git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47553
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
* 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,
}
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;