]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapcctl.h
GlobalLock/Unlock() are available under CE, no need to redefine them, it is already...
[wxWidgets.git] / include / wx / msw / wrapcctl.h
index fb26166ee09b0217dd0eb5445e50fb2242ed436a..7d32e65c5745f4214134f3645e03220440a3df0b 100644 (file)
 // define things which might be missing from our commctrl.h
 #include "wx/msw/missing.h"
 
+// Set Unicode format for a common control
+inline void wxSetCCUnicodeFormat(HWND hwnd)
+{
+#ifndef __WXWINCE__
+    ::SendMessage(hwnd, CCM_SETUNICODEFORMAT, wxUSE_UNICODE, 0);
+#else // !__WXWINCE__
+    // here it should be already in Unicode anyhow
+    hwnd;
+#endif // __WXWINCE__/!__WXWINCE__
+}
+
+// Return the default font for the common controls
+//
+// this is implemented in msw/settings.cpp
+extern wxFont wxGetCCDefaultFont();
+
 #endif // _WX_MSW_WRAPCCTL_H_