]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Improve mouse handling code in wxAuiToolBar.
[wxWidgets.git] / include / wx / defs.h
index 9ac8e09e780e7a6185e29f125661ff0933756acf..5e006edbf21efef0dc6730fe43a5a96379daa0ea 100644 (file)
 
 /* Prevents conflicts between sys/types.h and winsock.h with Cygwin, */
 /* when using Windows sockets. */
-#if defined(__CYGWIN__) && (__WXMSW__)
+#ifdef __CYGWIN__
 #define __USE_W32_SOCKETS
 #endif
 
@@ -2289,9 +2289,11 @@ enum wxDataFormatId
     wxDF_MAX
 };
 
-/*  Virtual keycodes */
+/* Key codes */
 enum wxKeyCode
 {
+    WXK_NONE    =    0,
+
     WXK_BACK    =    8, // backspace
     WXK_TAB     =    9,
     WXK_RETURN  =    13,