]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxGTK
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jul 2001 22:48:27 +0000 (22:48 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 10 Jul 2001 22:48:27 +0000 (22:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/popupwin.cpp
src/gtk1/popupwin.cpp

index 1bda6c9850bd9c677d1bca4476ec723f5bf006fa..bbfb93399de9a17eea19c114747768ec249871a0 100644 (file)
@@ -141,8 +141,10 @@ static void wxInsertChildInDialog( wxPopupWindow* parent, wxWindow* child )
 // wxPopupWindow
 //-----------------------------------------------------------------------------
 
-BEGIN_EVENT_TABLE(wxPopupWindow, wxPopupWindowBase)
+BEGIN_EVENT_TABLE(wxPopupWindow,wxPopupWindowBase)
+#ifdef __WXUNIVERSAL__
     EVT_SIZE(wxPopupWindow::OnSize)
+#endif
 END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
index 1bda6c9850bd9c677d1bca4476ec723f5bf006fa..bbfb93399de9a17eea19c114747768ec249871a0 100644 (file)
@@ -141,8 +141,10 @@ static void wxInsertChildInDialog( wxPopupWindow* parent, wxWindow* child )
 // wxPopupWindow
 //-----------------------------------------------------------------------------
 
-BEGIN_EVENT_TABLE(wxPopupWindow, wxPopupWindowBase)
+BEGIN_EVENT_TABLE(wxPopupWindow,wxPopupWindowBase)
+#ifdef __WXUNIVERSAL__
     EVT_SIZE(wxPopupWindow::OnSize)
+#endif
 END_EVENT_TABLE()
 
 IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)