fixed wxDataViewCtrl compilation with DigitalMars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f06db45d64
commit
fab3f50eb7
@ -1020,7 +1020,7 @@ void wxDataViewHeaderWindowMSW::UpdateDisplay()
|
||||
|
||||
HDITEM hdi;
|
||||
hdi.mask = HDI_TEXT | HDI_FORMAT | HDI_WIDTH;
|
||||
hdi.pszText = (wxChar *) col->GetTitle().c_str();
|
||||
hdi.pszText = (wxChar *) col->GetTitle().wx_str();
|
||||
hdi.cxy = col->GetWidth();
|
||||
hdi.cchTextMax = sizeof(hdi.pszText)/sizeof(hdi.pszText[0]);
|
||||
hdi.fmt = HDF_LEFT | HDF_STRING;
|
||||
|
Loading…
Reference in New Issue
Block a user