]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/popupwin.h
fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in...
[wxWidgets.git] / include / wx / popupwin.h
index 9774f8e23b247d44b7d5c0b7e43a2a2137db6af0..7a666aaf7d6e6f834805581c3cadd2bdfcc0da9f 100644 (file)
@@ -29,6 +29,9 @@ class WXDLLEXPORT wxPopupWindowBase : public wxWindow
 {
 public:
     wxPopupWindowBase() { }
+#ifdef __DARWIN__
+    virtual ~wxPopupWindowBase() { }
+#endif
 
     // create the popup window
     //
@@ -52,6 +55,8 @@ public:
     #include "wx/msw/popupwin.h"
 #elif __WXGTK__
     #include "wx/gtk/popupwin.h"
+#elif __WXMGL__
+    #include "wx/mgl/popupwin.h"
 #else
     #error "wxPopupWindow is not supported under this platform."
 #endif
@@ -106,7 +111,7 @@ protected:
     friend class wxPopupFocusHandler;
 };
 
-#if wxUSE_COMBOBOX
+#if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)
 
 // ----------------------------------------------------------------------------
 // wxPopupComboWindow: wxPopupTransientWindow used by wxComboBox
@@ -133,7 +138,7 @@ protected:
     wxComboControl *m_combo;
 };
 
-#endif // wxUSE_COMBOBOX
+#endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__)
 
 #endif // wxUSE_POPUPWIN