]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapcctl.h
On screens with restricted space, it's useful to be able to add controls
[wxWidgets.git] / include / wx / msw / wrapcctl.h
index f61d2cec209f1fdc9ea8862bf34a07fab4787972..0edf3d96ecdc20f75ba56bbf73f24609e45a6d68 100644 (file)
@@ -49,10 +49,12 @@ inline void wxSetCCUnicodeFormat(HWND WXUNUSED_IN_WINCE(hwnd))
 #endif // __WXWINCE__/!__WXWINCE__
 }
 
+#if wxUSE_GUI
 // Return the default font for the common controls
 //
 // this is implemented in msw/settings.cpp
+class wxFont;
 extern wxFont wxGetCCDefaultFont();
+#endif
 
 #endif // _WX_MSW_WRAPCCTL_H_
-