X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a63feff3a93d9d9dc36f155d3a5c3a36cb922f0..7b162e540e98415f8ac6bc1fd5b880e143aa85e5:/include/wx/msw/wrapcctl.h diff --git a/include/wx/msw/wrapcctl.h b/include/wx/msw/wrapcctl.h index 188377baca..6c916ffa7f 100644 --- a/include/wx/msw/wrapcctl.h +++ b/include/wx/msw/wrapcctl.h @@ -46,14 +46,15 @@ // Set Unicode format for a common control inline void wxSetCCUnicodeFormat(HWND hwnd) { - SendMessage(hwnd, CCM_SETUNICODEFORMAT, -#if wxUSE_UNICODE - TRUE -#else - FALSE -#endif - , 0); +#ifndef __WXWINCE__ + ::SendMessage(hwnd, CCM_SETUNICODEFORMAT, wxUSE_UNICODE, 0); +#endif // __WXWINCE__ } +// Return the default font for the common controls +// +// this is implemented in msw/settings.cpp +extern wxFont wxGetCCDefaultFont(); + #endif // _WX_MSW_WRAPCCTL_H_