]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsx11.cpp
Fail for assert(0,...).
[wxWidgets.git] / src / unix / utilsx11.cpp
index b07ce1599133370cd0aae33ccc67dcb1b6eb5664..b81271298defa297c8993040b29dd15af4f330f9 100644 (file)
 #include "wx/wxprec.h"
 
 #include "wx/unix/utilsx11.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/icon.h"
+#endif
+
 #include "wx/iconbndl.h"
 #include "wx/image.h"
-#include "wx/icon.h"
-#include "wx/log.h"
 
 #ifdef __VMS
 #pragma message disable nosimpint
@@ -770,8 +775,6 @@ KeySym wxCharCodeWXToX(int id)
 // check current state of a key
 // ----------------------------------------------------------------------------
 
-#include "wx/app.h"
-
 bool wxGetKeyState(wxKeyCode key)
 {
     wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key !=