From: Václav Slavík Date: Thu, 15 Mar 2007 15:31:38 +0000 (+0000) Subject: fixed wxDataViewCtrl compilation with DigitalMars X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fab3f50eb77baa026bd20e9cbdb0a59c0a6df7f6 fixed wxDataViewCtrl compilation with DigitalMars git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index cdd2e939a9..860e2394c6 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -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;