X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d143b6689b9ce3f02398d1ee4129f6a21024183..fd78ef4715d4afe60a2ddb4bc4080af24ce7946d:/samples/regtest/regtest.cpp diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index cae2f058a9..a12d6f28b7 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -31,7 +31,7 @@ #include "wx/imaglist.h" #include "wx/tokenzr.h" -#if wxUSE_CONFIG_NATIVE && defined( __WXMSW__ ) +#if wxUSE_CONFIG_NATIVE && defined( __WINDOWS__ ) # define DO_REGTEST 1 #else # define DO_REGTEST 0 @@ -1193,7 +1193,7 @@ const wxChar *RegTreeCtrl::TreeNode::FullName() const s_strName = Parent()->FullName(); s_strName << wxT('\\') << m_strName; - return s_strName; + return s_strName.t_str(); } }