]> git.saurik.com Git - wxWidgets.git/commitdiff
made the validation message more clear
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Jul 2002 16:35:52 +0000 (16:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Jul 2002 16:35:52 +0000 (16:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/treectrl/treetest.cpp

index 2645bfdd1b36256b63b6145e2a86f7d538e1f32e..fd2ab7efe1a5094122a081136cac3da9a9be6f07 100644 (file)
@@ -926,7 +926,7 @@ void MyTreeCtrl::OnEndLabelEdit(wxTreeEvent& event)
     // don't allow anything except letters in the labels
     if ( !event.GetLabel().IsWord() )
     {
-        wxMessageBox(wxT("The label should contain only letters."));
+        wxMessageBox(wxT("The new label should be a single word."));
 
         event.Veto();
     }