]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/palette.cpp
implement GetBestSize() (patch 1386199)
[wxWidgets.git] / src / x11 / palette.cpp
index 5b0ac77201f275268617f72c5ddfbc1d6edc0c3e..61a885cbddc7dff21901198fdda7ad54fd104ea8 100644 (file)
@@ -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