]>
Commit | Line | Data |
---|---|---|
0d236fd0 VZ |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/msw/wrapcctl.h | |
3 | // Purpose: Wrapper for the standard <commctrl.h> header | |
4 | // Author: Vadim Zeitlin | |
5 | // Modified by: | |
6 | // Created: 03.08.2003 | |
7 | // RCS-ID: $Id$ | |
77ffb593 | 8 | // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org> |
65571936 | 9 | // Licence: wxWindows licence |
0d236fd0 VZ |
10 | /////////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_MSW_WRAPCCTL_H_ | |
13 | #define _WX_MSW_WRAPCCTL_H_ | |
14 | ||
57bd4c60 WS |
15 | #include "wx/msw/wrapwin.h" |
16 | ||
2cef71bc | 17 | #include <commctrl.h> |
0d236fd0 VZ |
18 | |
19 | // define things which might be missing from our commctrl.h | |
20 | #include "wx/msw/missing.h" | |
21 | ||
9a63feff | 22 | // Set Unicode format for a common control |
0c0d1521 | 23 | inline void wxSetCCUnicodeFormat(HWND WXUNUSED_IN_WINCE(hwnd)) |
9a63feff | 24 | { |
8155488b | 25 | #ifndef __WXWINCE__ |
553c5bcc | 26 | ::SendMessage(hwnd, CCM_SETUNICODEFORMAT, wxUSE_UNICODE, 0); |
f153c2b6 VZ |
27 | #else // !__WXWINCE__ |
28 | // here it should be already in Unicode anyhow | |
f153c2b6 | 29 | #endif // __WXWINCE__/!__WXWINCE__ |
9a63feff VZ |
30 | } |
31 | ||
cceed040 | 32 | #if wxUSE_GUI |
553c5bcc VZ |
33 | // Return the default font for the common controls |
34 | // | |
35 | // this is implemented in msw/settings.cpp | |
9eb5cd3b | 36 | class wxFont; |
553c5bcc | 37 | extern wxFont wxGetCCDefaultFont(); |
cceed040 | 38 | #endif |
553c5bcc | 39 | |
0d236fd0 | 40 | #endif // _WX_MSW_WRAPCCTL_H_ |