X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..9a7b7798282622e445efc3318b6c85ff0bed9af8:/src/x11/palette.cpp diff --git a/src/x11/palette.cpp b/src/x11/palette.cpp index 5b0ac77201..61a885cbdd 100644 --- 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. */ +// for compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.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