From: Mattia Barbon Date: Sat, 17 May 2003 19:51:02 +0000 (+0000) Subject: Compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3f3071dcd5d662883d727efe3e60ffeeda8b9883 Compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index d670308a9f..0374b532cd 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -136,10 +136,6 @@ #ifndef VK_OEM_1 #define VK_OEM_1 0xBA - #define VK_OEM_PLUS 0xBB - #define VK_OEM_COMMA 0xBC - #define VK_OEM_MINUS 0xBD - #define VK_OEM_PERIOD 0xBE #define VK_OEM_2 0xBF #define VK_OEM_3 0xC0 #define VK_OEM_4 0xDB @@ -148,6 +144,13 @@ #define VK_OEM_7 0xDE #endif +#ifndef VK_OEM_COMMA + #define VK_OEM_PLUS 0xBB + #define VK_OEM_COMMA 0xBC + #define VK_OEM_MINUS 0xBD + #define VK_OEM_PERIOD 0xBE +#endif + // --------------------------------------------------------------------------- // global variables // --------------------------------------------------------------------------- @@ -697,7 +700,7 @@ void wxWindowMSW::MSWDeviceToLogical (float *x, float *y) const // --------------------------------------------------------------------------- // convert wxHORIZONTAL/wxVERTICAL to SB_HORZ/SB_VERT -static inline wxDirToWinStyle(int orient) +static inline int wxDirToWinStyle(int orient) { return orient == wxHORIZONTAL ? SB_HORZ : SB_VERT; }