]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gdiobj.h
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / include / wx / msw / gdiobj.h
index 7ea71fbec28eff7f8c4b75d198e8150dc8234929..03dd0814fc59d3018e90095f6b3247213438c2d3 100644 (file)
@@ -6,13 +6,13 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_GDIOBJ_H_
 #define _WX_GDIOBJ_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "gdiobj.h"
 #endif