X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f41ed3c4424167578262d283865b4642f2da8271..15436458138acd516aa95975a163f4c7c7c3afc8:/include/wx/mgl/toplevel.h

diff --git a/include/wx/mgl/toplevel.h b/include/wx/mgl/toplevel.h
index 8753702958..f7c47f5c6b 100644
--- a/include/wx/mgl/toplevel.h
+++ b/include/wx/mgl/toplevel.h
@@ -3,7 +3,7 @@
 // Purpose:     Top level window, abstraction of wxFrame and wxDialog
 // Author:      Vaclav Slavik
 // Id:          $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -11,7 +11,7 @@
 #ifndef __WX_TOPLEVEL_H__
 #define __WX_TOPLEVEL_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "toplevel.h"
 #endif