X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1032aee2d4fcf5d13377eefaaa2ab627462a8f05..0ecd03525b34edba886ca83ff724265cd912dbbd:/include/wx/msw/wrapcctl.h 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_