]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/caret.cpp
fixed setting of initial font under wxGTK2
[wxWidgets.git] / src / generic / caret.cpp
index d199e5290f94b9f0efd3d9f5a39465fc410cb476..a3edbb026b1dd9c33d4e692465930e7e31517825 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     25.05.99
 // RCS-ID:      $Id$
-// Copyright:   (c) wxWindows team
+// Copyright:   (c) wxWidgets team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "caret.h"
 #endif