]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
allow compilation with wxUSE_CHOICEDLG set to 0
[wxWidgets.git] / src / motif / utils.cpp
index 77bdbe3d6bb5a82358cd46a7fe74aec3dd81091b..f6b0179f115000803174b219c32a02796304a07c 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #ifdef __VMS
 #define XtDisplay XTDISPLAY
 #endif
+
 #include "wx/setup.h"
 #include "wx/utils.h"
 #include "wx/apptrait.h"
@@ -630,6 +634,9 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt)
     return wxGenericFindWindowAtPoint(pt);
 }
 
+// Now in utilsx11.cpp
+#if 0
+
 // ----------------------------------------------------------------------------
 // keycode translations
 // ----------------------------------------------------------------------------
@@ -872,6 +879,7 @@ KeySym wxCharCodeWXToX(int id)
 
     return keySym;
 }
+#endif
 
 // ----------------------------------------------------------------------------
 // Some colour manipulation routines