X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/758bce950ba9236d0a9edc4c880c3ec73b5173f3..034e3041693f90324cfa4d282ef44e6063738d83:/include/wx/gtk/popupwin.h diff --git a/include/wx/gtk/popupwin.h b/include/wx/gtk/popupwin.h index d01ecdff01..e40673b4e6 100644 --- a/include/wx/gtk/popupwin.h +++ b/include/wx/gtk/popupwin.h @@ -11,7 +11,7 @@ #ifndef __GTKPOPUPWINH__ #define __GTKPOPUPWINH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #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); }