X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cef71bc23a9cd0ec543e451848fb9e88ace36e9..ef1717a963dfb76bac26b9f4277ae590b3c0a2e6:/include/wx/msw/wrapcctl.h diff --git a/include/wx/msw/wrapcctl.h b/include/wx/msw/wrapcctl.h index 3faa980790..0edf3d96ec 100644 --- a/include/wx/msw/wrapcctl.h +++ b/include/wx/msw/wrapcctl.h @@ -40,20 +40,21 @@ #include "wx/msw/missing.h" // Set Unicode format for a common control -inline void wxSetCCUnicodeFormat(HWND hwnd) +inline void wxSetCCUnicodeFormat(HWND WXUNUSED_IN_WINCE(hwnd)) { #ifndef __WXWINCE__ ::SendMessage(hwnd, CCM_SETUNICODEFORMAT, wxUSE_UNICODE, 0); #else // !__WXWINCE__ // here it should be already in Unicode anyhow - wxUnusedVar(hwnd); #endif // __WXWINCE__/!__WXWINCE__ } +#if wxUSE_GUI // Return the default font for the common controls // // this is implemented in msw/settings.cpp +class wxFont; extern wxFont wxGetCCDefaultFont(); +#endif #endif // _WX_MSW_WRAPCCTL_H_ -