]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stringimpl.cpp
Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease...
[wxWidgets.git] / src / common / stringimpl.cpp
index 4c309175217b9b329002b98b6a11ba0979b91230..e182044be1eca6debda898501bf2127ba344e0cb 100644 (file)
@@ -180,7 +180,7 @@ wxStringImpl::wxStringImpl(const_iterator first, const_iterator last)
 {
   if ( last >= first )
   {
-    InitWith(first, 0, last - first);
+    InitWith(first.GetPtr(), 0, last - first);
   }
   else
   {