]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/popupwin.cpp
New positioning code, eliminating a lot of extra, unnecessary methods
[wxWidgets.git] / src / gtk1 / popupwin.cpp
index 1bda6c9850bd9c677d1bca4476ec723f5bf006fa..bbfb93399de9a17eea19c114747768ec249871a0 100644 (file)
@@ -141,8 +141,10 @@ static void wxInsertChildInDialog( wxPopupWindow* parent, wxWindow* child )
 // wxPopupWindow
 //-----------------------------------------------------------------------------
 
 // wxPopupWindow
 //-----------------------------------------------------------------------------
 
-BEGIN_EVENT_TABLE(wxPopupWindow, wxPopupWindowBase)
+BEGIN_EVENT_TABLE(wxPopupWindow,wxPopupWindowBase)
+#ifdef __WXUNIVERSAL__
     EVT_SIZE(wxPopupWindow::OnSize)
     EVT_SIZE(wxPopupWindow::OnSize)
+#endif
 END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
 END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)