]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/popupwin.h
warning for 2.5.3
[wxWidgets.git] / include / wx / x11 / popupwin.h
index 3fd5ddde0566e773ecc7b320b14e3318459d331b..6cb6d721e97474fe5d1c0e74bf3cfa61fde4f2d8 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
-#ifdef __GNUG__
+#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); }