]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/privx.h
Lots of updates for color dialog and sliders
[wxWidgets.git] / include / wx / x11 / privx.h
index 999372519d1acc63508a19519cad1a3f006c4602..c8c63f63b8adf0a5f1dca97c68db5d672b18fb54 100644 (file)
@@ -68,6 +68,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 +102,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