X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/758bce950ba9236d0a9edc4c880c3ec73b5173f3..05e3a383e0bff29b830f91b6b40e63a3b1a3e72f:/include/wx/gtk1/popupwin.h diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h index d01ecdff01..46a00922d3 100644 --- a/include/wx/gtk1/popupwin.h +++ b/include/wx/gtk1/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "popupwin.h" #endif @@ -27,9 +27,7 @@ class wxPopupWindow: public wxPopupWindowBase { public: wxPopupWindow() { } -#ifdef __DARWIN__ - virtual ~wxPopupWindow() { } -#endif + virtual ~wxPopupWindow(); wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE) { (void)Create(parent, flags); }