]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/privx.h
We surely don't need two debugging sections,
[wxWidgets.git] / include / wx / x11 / privx.h
index 999372519d1acc63508a19519cad1a3f006c4602..7a3473593aa36f4cb945c9d35f49d7c82f7c6974 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "wx/defs.h"
 #include "wx/utils.h"
+#include "wx/colour.h"
+
 #include "X11/Xlib.h"
 #include "X11/Xatom.h"
 #include "X11/Xutil.h"
@@ -68,6 +70,8 @@ bool wxWindowIsVisible(Window win);
 #if wxUSE_NANOX
 #define XEventGetWindow(event) event->general.wid
 #define XEventGetType(event) event->general.type
+#define XConfigureEventGetX(event) ((int) event->update.x)
+#define XConfigureEventGetY(event) ((int) event->update.y)
 #define XConfigureEventGetWidth(event) ((int) event->update.width)
 #define XConfigureEventGetHeight(event) ((int) event->update.height)
 #define XExposeEventGetX(event) event->exposure.x
@@ -100,6 +104,8 @@ bool wxWindowIsVisible(Window win);
 
 #define XEventGetWindow(event) event->xany.window
 #define XEventGetType(event) event->xany.type
+#define XConfigureEventGetX(event) event->xconfigure.x
+#define XConfigureEventGetY(event) event->xconfigure.y
 #define XConfigureEventGetWidth(event) event->xconfigure.width
 #define XConfigureEventGetHeight(event) event->xconfigure.height
 #define XExposeEventGetX(event) event->xexpose.x