]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapcctl.h
added wx/object.h include (bug 1398517)
[wxWidgets.git] / include / wx / msw / wrapcctl.h
index 3faa98079015d8da87753c3052263575cd05987f..f61d2cec209f1fdc9ea8862bf34a07fab4787972 100644 (file)
 #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__
 }