X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4b04699b670b4ab4632229fa0264d154acd3bec1:/samples/richedit/wxllist.h diff --git a/samples/richedit/wxllist.h b/samples/richedit/wxllist.h index 0669c25804..c965f6b322 100644 --- a/samples/richedit/wxllist.h +++ b/samples/richedit/wxllist.h @@ -292,7 +292,7 @@ public: virtual wxString DebugDump(void) const; #endif - virtual CoordType GetLength(void) const { return strlen(m_Text.c_str()); } + virtual CoordType GetLength(void) const { return wxStrlen(m_Text.c_str()); } // for editing: wxString & GetText(void) { return m_Text; } @@ -1273,7 +1273,7 @@ class wxLayoutDataObject : public wxCustomDataObject public: wxLayoutDataObject() { - SetFormat("application/wxlayoutlist"); + SetFormat(wxT("application/wxlayoutlist")); } // type safe wrappers