projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wxFilesystem compilation if wxUSE_FFILE is 0 but wxUSE_FILE is 1; disable wxFileS...
[wxWidgets.git]
/
src
/
x11
/
palette.cpp
diff --git
a/src/x11/palette.cpp
b/src/x11/palette.cpp
index 5b0ac77201f275268617f72c5ddfbc1d6edc0c3e..61a885cbddc7dff21901198fdda7ad54fd104ea8 100644
(file)
--- a/
src/x11/palette.cpp
+++ b/
src/x11/palette.cpp
@@
-34,10
+34,16
@@
recommended; only the window manager should do this... Also, it is
not the functionality that wxPalette::Create() aims to provide.
*/
not the functionality that wxPalette::Create() aims to provide.
*/
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#include "wx/palette.h"
#include "wx/palette.h"
-#include "wx/window.h"
-#include "wx/app.h"
-#include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/utils.h"
+ #include "wx/window.h"
+#endif
#ifdef __VMS__
#pragma message disable nosimpint
#ifdef __VMS__
#pragma message disable nosimpint