]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/popupwin.h
DEBUGREPORT
[wxWidgets.git] / include / wx / x11 / popupwin.h
index 19c01e248b045bf7e94875af015918140f236c27..6cb6d721e97474fe5d1c0e74bf3cfa61fde4f2d8 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "popupwin.h"
 #endif
 
     #pragma interface "popupwin.h"
 #endif
 
@@ -27,7 +27,7 @@ class wxPopupWindow: public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
 {
 public:
     wxPopupWindow() { }
-    virtual ~wxPopupWindow() { }
+    virtual ~wxPopupWindow() ;
 
     wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
         { (void)Create(parent, flags); }
 
     wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
         { (void)Create(parent, flags); }