X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/758bce950ba9236d0a9edc4c880c3ec73b5173f3..48f7ffbe93ab587c54643e2476b0e3b0c74e1386:/include/wx/gtk/popupwin.h?ds=sidebyside 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); }