X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8614c467553e7dd8a5b9984683d73c89730b8ead..71fe5c01eb5072bfbaf940f6675acbabc6d8913b:/src/msw/radiobox.cpp diff --git a/src/msw/radiobox.cpp b/src/msw/radiobox.cpp index 5b90896189..dc5c3c5926 100644 --- a/src/msw/radiobox.cpp +++ b/src/msw/radiobox.cpp @@ -38,10 +38,9 @@ #include "wx/msw/private.h" #if wxUSE_TOOLTIPS - #ifndef __GNUWIN32__ + #ifndef __GNUWIN32_OLD__ #include #endif - #include "wx/tooltip.h" #endif // wxUSE_TOOLTIPS @@ -788,8 +787,9 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, // want to process arrows ourselves because neither of them is // smart enough to handle arrows properly for us { - long lDlgCode = ::CallWindowProc(s_wndprocRadioBtn, hwnd, + long lDlgCode = ::CallWindowProc(CASTWNDPROC s_wndprocRadioBtn, hwnd, message, wParam, lParam); + return lDlgCode | DLGC_WANTARROWS; } @@ -873,7 +873,7 @@ LRESULT APIENTRY _EXPORT wxRadioBtnWndProc(HWND hwnd, } } - return ::CallWindowProc(s_wndprocRadioBtn, hwnd, message, wParam, lParam); + return ::CallWindowProc(CASTWNDPROC s_wndprocRadioBtn, hwnd, message, wParam, lParam); } #endif // __WIN32__