]> 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 6c916ffa7f0c800718a389b25c6510d5607e7428..7d32e65c5745f4214134f3645e03220440a3df0b 100644 (file)
@@ -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