]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/popupwin.cpp
compilation fix for Borland (hopefully)
[wxWidgets.git] / src / gtk / popupwin.cpp
index 36ef2e7b624968f6408fe0105b0acade33b62dd9..bbfb93399de9a17eea19c114747768ec249871a0 100644 (file)
@@ -142,10 +142,12 @@ static void wxInsertChildInDialog( wxPopupWindow* parent, wxWindow* child )
 //-----------------------------------------------------------------------------
 
 BEGIN_EVENT_TABLE(wxPopupWindow,wxPopupWindowBase)
-    EVT_SIZE    (wxPopupWindow::OnSize)
+#ifdef __WXUNIVERSAL__
+    EVT_SIZE(wxPopupWindow::OnSize)
+#endif
 END_EVENT_TABLE()
 
-IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow,wxPopupWindowBase)
+IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow)
 
 bool wxPopupWindow::Create( wxWindow *parent, int style )
 {