]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/private.h
include wrapwin.h instead of windows.h directly (fixes CE compilation problems)
[wxWidgets.git] / include / wx / motif / private.h
index 5020ca20f9d792b420bc72df2abfded74b3b5ef1..e7901129e3347b7606af65ad1f918d21ca0035d4 100644 (file)
@@ -86,9 +86,9 @@ extern XmString wxFindAcceleratorText (const char *s);
 // ----------------------------------------------------------------------------
 
 extern bool wxTranslateMouseEvent(wxMouseEvent& wxevent, wxWindow *win,
-                                  Widget widget, XEvent *xevent);
+                                  Widget widget, const XEvent *xevent);
 extern bool wxTranslateKeyEvent(wxKeyEvent& wxevent, wxWindow *win,
-                                Widget widget, XEvent *xevent);
+                                Widget widget, const XEvent *xevent);
 
 extern void wxDoChangeForegroundColour(WXWidget widget,
                                        wxColour& foregroundColour);