X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f41d601565ed8fef859133519e90e8793dc7372..9fe52545f5b4a21e3cdeab5d0aa8d9e6a91355c3:/include/wx/popupwin.h diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 4c00cc1ed9..bd9524c08f 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -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 // @@ -106,7 +109,7 @@ protected: friend class wxPopupFocusHandler; }; -#if wxUSE_COMBOBOX +#if wxUSE_COMBOBOX && defined(__WXUNIVERSAL__) // ---------------------------------------------------------------------------- // wxPopupComboWindow: wxPopupTransientWindow used by wxComboBox @@ -133,7 +136,7 @@ protected: wxComboControl *m_combo; }; -#endif // wxUSE_COMBOBOX +#endif // wxUSE_COMBOBOX && defined(__WXUNIVERSAL__) #endif // wxUSE_POPUPWIN