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:
Václav Slavík 2007-03-15 15:31:38 +00:00
parent f06db45d64
commit fab3f50eb7

View File

@ -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;