]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unnecessary override of AddChildGTK
authorPaul Cornett <paulcor@bullseye.com>
Tue, 28 Feb 2012 17:25:59 +0000 (17:25 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 28 Feb 2012 17:25:59 +0000 (17:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/popupwin.h
src/gtk/popupwin.cpp

index 97c9db64fb7a49b8608f0731b4cc1850c2c1979e..4ae6a307b6c532f39cb328928ec40f60e22bb8cb 100644 (file)
@@ -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
index 32e440006b233a6e1b6210fcbeb46c82321cb238..17d0671e937373cb02059039715c29f8c35cab67 100644 (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
 //-----------------------------------------------------------------------------