extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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_
|
||||
|
Reference in New Issue
Block a user