remove unnecessary override of AddChildGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-02-28 17:25:59 +00:00
parent cafc6e0f1f
commit f705fbf007
2 changed files with 0 additions and 11 deletions

View File

@@ -42,9 +42,6 @@ protected:
virtual void DoMoveWindow(int x, int y, int width, int height); virtual void DoMoveWindow(int x, int y, int width, int height);
private:
virtual void AddChildGTK(wxWindowGTK* child);
#ifdef __WXUNIVERSAL__ #ifdef __WXUNIVERSAL__
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
#endif #endif

View File

@@ -73,14 +73,6 @@ bool gtk_dialog_delete_callback( GtkWidget *WXUNUSED(widget), GdkEvent *WXUNUSED
} }
} }
void wxPopupWindow::AddChildGTK(wxWindowGTK* child)
{
gtk_widget_set_size_request(
child->m_widget, child->m_width, child->m_height);
gtk_fixed_put(
GTK_FIXED(m_wxwindow), child->m_widget, child->m_x, child->m_y);
}
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// wxPopupWindow // wxPopupWindow
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------