X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1032aee2d4fcf5d13377eefaaa2ab627462a8f05..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/include/wx/msw/wrapcctl.h?ds=sidebyside diff --git a/include/wx/msw/wrapcctl.h b/include/wx/msw/wrapcctl.h index 8d4cd2c70e..f06b308e08 100644 --- a/include/wx/msw/wrapcctl.h +++ b/include/wx/msw/wrapcctl.h @@ -35,6 +35,17 @@ inline void wxSetCCUnicodeFormat(HWND WXUNUSED_IN_WINCE(hwnd)) // this is implemented in msw/settings.cpp class wxFont; extern wxFont wxGetCCDefaultFont(); -#endif + +// this is just a wrapper for HDITEM which we can't use in the public header +// because we don't want to include commctrl.h (and hence windows.h) from there +struct wxHDITEM : public HDITEM +{ + wxHDITEM() + { + ::ZeroMemory(this, sizeof(*this)); + } +}; + +#endif // wxUSE_GUI #endif // _WX_MSW_WRAPCCTL_H_