]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/headerctrl.cpp
Build fix for wxOSX after removing position in MacCreateKeyEvent().
[wxWidgets.git] / src / msw / headerctrl.cpp
index c6c4de551a21d909b96622a87aa4ae482118ba70..6e543752abf7a26c7fe4641689df37564d8af232 100644 (file)
@@ -268,7 +268,7 @@ void wxHeaderCtrl::DoInsertItem(const wxHeaderColumn& col, unsigned int idx)
     // notice that we need to store the string we use the pointer to until we
     // pass it to the control
     hdi.mask |= HDI_TEXT;
-    wxWxCharBuffer buf = col.GetTitle().wx_str();
+    wxWxCharBuffer buf = col.GetTitle().t_str();
     hdi.pszText = buf.data();
     hdi.cchTextMax = wxStrlen(buf);