]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/palette.cpp
compilation fix: test correctly for filter string not being empty in MakeUserDataRec
[wxWidgets.git] / src / motif / palette.cpp
index 6080c475bca6d8c76f86ce43935e892647ba0b32..378172ff5b06e79122042772bd81e2c569a708fe 100644 (file)
@@ -38,9 +38,12 @@ not the functionality that wxPalette::Create() aims to provide.
 #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