#pragma implementation "popupwin.h"
#endif
+#include "wx/defs.h"
+
+#if wxUSE_POPUPWIN
+
#include "wx/popupwin.h"
#include "wx/frame.h"
#include "wx/app.h"
//-----------------------------------------------------------------------------
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 )
{
return ret;
}
+#endif // wxUSE_POPUPWIN