]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/fontenum.cpp
avoiding a OS-Level set focus for a control that already has the focus
[wxWidgets.git] / src / mgl / fontenum.cpp
index 316d2c5d543c28b014544917d500401066bd7a7b..ee847022d3b8753a41682da2ce85532fc1941fa5 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     wxFontEnumerator class for MGL
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -15,7 +15,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "fontenum.h"
 #endif
 
@@ -32,6 +32,7 @@
 #include "wx/utils.h"
 
 #include "wx/fontenum.h"
+#include "wx/encinfo.h"
 #include "wx/fontutil.h"
 
 #include <mgraph.h>