]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/icon.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / mgl / icon.h
index e79f001ae235b8f59984e4e819915039cdf9216a..bd1cfca05844c2c03a9c6150eecd350ae8de9389 100644 (file)
@@ -4,14 +4,14 @@
 // Author:      Vaclav Slavik
 // Id:          $Id$
 // Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Author:      Vaclav Slavik
 // Id:          $Id$
 // Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 
 #ifndef __WX_ICON_H__
 #define __WX_ICON_H__
 
 /////////////////////////////////////////////////////////////////////////////
 
 
 #ifndef __WX_ICON_H__
 #define __WX_ICON_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "icon.h"
 #endif
 
 #pragma interface "icon.h"
 #endif