]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed wxDataViewCtrl compilation with DigitalMars
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 15 Mar 2007 15:31:38 +0000 (15:31 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 15 Mar 2007 15:31:38 +0000 (15:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/datavgen.cpp

index cdd2e939a929a35b6092d74969e9448dac98a279..860e2394c610b87815f8998943e195d0c89d08b1 100644 (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;