diff --git a/include/wx/msw/wrapcctl.h b/include/wx/msw/wrapcctl.h index f61d2cec20..261fc08c18 100644 --- a/include/wx/msw/wrapcctl.h +++ b/include/wx/msw/wrapcctl.h @@ -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 extern wxFont wxGetCCDefaultFont(); +#endif #endif // _WX_MSW_WRAPCCTL_H_