]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/popupwin.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / msw / popupwin.h
index 6175150627a074fa06023a98ad8da9e40ca80013..2e50ef613b5f3577cb18359f9a3f6bd2f4ab9d3b 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     06.01.01
 // RCS-ID:      $Id$
 // Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_MSW_POPUPWIN_H_
 #define _WX_MSW_POPUPWIN_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "popup.h"
 #endif