]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/pen.cpp
Fixed incorrect ratio initialization
[wxWidgets.git] / src / mgl / pen.cpp
index d7a3cb142afb9d5e3dfee40af3c9018f8172ba99..686e6d46db37ea79d5856738230206cecb9943d6 100644 (file)
@@ -3,12 +3,12 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // Id:          $Id$
 // Purpose:
 // 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
 /////////////////////////////////////////////////////////////////////////////
 
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "pen.h"
 #endif
 
 #pragma implementation "pen.h"
 #endif
 
@@ -21,6 +21,7 @@
 
 #include "wx/pen.h"
 #include "wx/bitmap.h"
 
 #include "wx/pen.h"
 #include "wx/bitmap.h"
+#include "wx/colour.h"
 #include "wx/mgl/private.h"
 
 //-----------------------------------------------------------------------------
 #include "wx/mgl/private.h"
 
 //-----------------------------------------------------------------------------