Compile fixes: gcc seems to need pbt.h including, and PBT_APMRESUMEAUTOMATIC
[wxWidgets.git] / src / x11 / font.cpp
index f982eb15fe54090b553495eddd116d2108d0e116..7215b892302ec33845dba4edec1bb24aad616bbe 100644 (file)
 #pragma message enable nosimpint
 #endif
 
-#include "wx/string.h"
 #include "wx/font.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/string.h"
+    #include "wx/utils.h"       // for wxGetDisplay()
+    #include "wx/settings.h"
+#endif
+
 #include "wx/gdicmn.h"
-#include "wx/utils.h"       // for wxGetDisplay()
 #include "wx/fontutil.h"    // for wxNativeFontInfo
 #include "wx/tokenzr.h"
-#include "wx/settings.h"
 
 #include "wx/x11/private.h"