]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapcctl.h
wxMac should use /src/mac/carbon/spinctrl.cpp, applied some sizing
[wxWidgets.git] / include / wx / msw / wrapcctl.h
index 6c916ffa7f0c800718a389b25c6510d5607e7428..2e508081c4655abf50fd6bfa283f615d0972f231 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
+    wxUnusedVar(hwnd);
+#endif // __WXWINCE__/!__WXWINCE__
 }
 
 // Return the default font for the common controls