X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/553c5bcc3ab65e8b8a002dc6d5f51cba4f39292c..2aaf17c2237b5799f9b8875996b93950a2679ad9:/include/wx/msw/wrapcctl.h?ds=sidebyside diff --git a/include/wx/msw/wrapcctl.h b/include/wx/msw/wrapcctl.h index 6c916ffa7f..7d32e65c57 100644 --- a/include/wx/msw/wrapcctl.h +++ b/include/wx/msw/wrapcctl.h @@ -48,7 +48,10 @@ inline void wxSetCCUnicodeFormat(HWND hwnd) { #ifndef __WXWINCE__ ::SendMessage(hwnd, CCM_SETUNICODEFORMAT, wxUSE_UNICODE, 0); -#endif // __WXWINCE__ +#else // !__WXWINCE__ + // here it should be already in Unicode anyhow + hwnd; +#endif // __WXWINCE__/!__WXWINCE__ } // Return the default font for the common controls