]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/meta/movable.h
in release builds gcc on osx evaporates these inlines if not WXEXPORTed
[wxWidgets.git] / include / wx / meta / movable.h
index 3583c98a59d480d615860e1d95335fa0d12fa3a5..f8624d1fb904260ccfe03cb06ec92cd551a2c862 100644 (file)
@@ -84,11 +84,12 @@ struct wxIsMovable<const T*>
 #endif // !VC++ < 7
 
 // Our implementation of wxString is written in such way that it's safe to move
-// it around. OTOH, we don't know anything about std::string.
+// it around (unless position cache is used which unfortunately breaks this).
+// OTOH, we don't know anything about std::string.
 // (NB: we don't put this into string.h and choose to include wx/string.h from
 // here instead so that rarely-used wxIsMovable<T> code isn't included by
 // everything)
-#if !wxUSE_STL
+#if !wxUSE_STL && !wxUSE_STRING_POS_CACHE
 WX_DECLARE_TYPE_MOVABLE(wxString)
 #endif