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