X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f41d601565ed8fef859133519e90e8793dc7372..0e32fdb872d413f14da8ce045766f0e2f13e202d:/src/gtk/popupwin.cpp diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index b61a31c7be..bbfb93399d 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -11,6 +11,10 @@ #pragma implementation "popupwin.h" #endif +#include "wx/defs.h" + +#if wxUSE_POPUPWIN + #include "wx/popupwin.h" #include "wx/frame.h" #include "wx/app.h" @@ -138,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 ) { @@ -332,3 +338,4 @@ bool wxPopupWindow::Show( bool show ) return ret; } +#endif // wxUSE_POPUPWIN