]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dde.cpp
Add wxGrid::Render() for drawing the grid to any wxDC.
[wxWidgets.git] / src / msw / dde.cpp
index bb85ac799a043ff2d3d3660f17dead15b70d477d..10f0dc792a2a8f9c7be63783ac01261e1ee52764 100644 (file)
@@ -1068,7 +1068,7 @@ static HSZ DDEAtomFromString(const wxString& s)
 {
     wxASSERT_MSG( DDEIdInst, wxT("DDE not initialized") );
 
-    HSZ hsz = DdeCreateStringHandle(DDEIdInst, (wxChar*)s.wx_str(), DDE_CP);
+    HSZ hsz = DdeCreateStringHandle(DDEIdInst, const_cast<wxChar*>(static_cast<const wxChar*>(s.t_str())), DDE_CP);
     if ( !hsz )
     {
         DDELogError(_("Failed to create DDE string"));