]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/popupwin.cpp
compilation fix for Borland (hopefully)
[wxWidgets.git] / src / gtk / 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)