From f705fbf0073a62c737d0994b9bdfa31e77affaa5 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Tue, 28 Feb 2012 17:25:59 +0000 Subject: [PATCH] remove unnecessary override of AddChildGTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/popupwin.h | 3 --- src/gtk/popupwin.cpp | 8 -------- 2 files changed, 11 deletions(-) diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index 97c9db64fb..4ae6a307b6 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/popupwin.h @@ -42,9 +42,6 @@ protected: virtual void DoMoveWindow(int x, int y, int width, int height); -private: - virtual void AddChildGTK(wxWindowGTK* child); - #ifdef __WXUNIVERSAL__ DECLARE_EVENT_TABLE() #endif diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index 32e440006b..17d0671e93 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -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 //----------------------------------------------------------------------------- -- 2.45.2