]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/popupwin.h
1. added wxStatusBarUniv
[wxWidgets.git] / include / wx / popupwin.h
index 4c00cc1ed99684412d97ce6e29f466a48fe49c39..85ce6295e64d869479692f4204e7af92038702d5 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_POPUPWIN_H_BASE_
 
 #ifdef __GNUG__
-    #pragma interface "popupwin.h"
+    #pragma interface "popupwinbase.h"
 #endif
 
 #include "wx/window.h"
@@ -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
@@ -66,7 +71,7 @@ class WXDLLEXPORT wxPopupTransientWindow : public wxPopupWindow
 public:
     // ctors
     wxPopupTransientWindow() { Init(); }
-    wxPopupTransientWindow(wxWindow *parent);
+    wxPopupTransientWindow(wxWindow *parent, int style = wxBORDER_NONE);
 
     virtual ~wxPopupTransientWindow();
 
@@ -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