From 82e313bf816718c345b45c48be70746343e8619a Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 26 Mar 2008 15:03:51 +0000 Subject: [PATCH] more std2wx --- kernel/src/bbtkWxGUITextEditor.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kernel/src/bbtkWxGUITextEditor.cxx b/kernel/src/bbtkWxGUITextEditor.cxx index 95901c4..26116ff 100644 --- a/kernel/src/bbtkWxGUITextEditor.cxx +++ b/kernel/src/bbtkWxGUITextEditor.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUITextEditor.cxx,v $ Language: C++ - Date: $Date: 2008/03/26 14:57:01 $ - Version: $Revision: 1.5 $ + Date: $Date: 2008/03/26 15:03:51 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -450,7 +450,7 @@ namespace bbtk if (mwxNotebook->GetPageCount()==0) return; GetCurrentPage()->Save(mFileNameFilter); mwxNotebook->SetPageText(mwxNotebook->GetSelection(), - GetCurrentPage()->GetPageName()); + std2wx(GetCurrentPage()->GetPageName())); } //================================================================ @@ -584,14 +584,15 @@ namespace bbtk // pos+1, // (long)mwxInputText->GetValue().length())+1; - mwxPosition->SetLabel(wxString(mess)); + // mwxPosition->SetLabel(wxString(mess)); + mwxPosition->SetLabel(std2wx(mess)); mwxPosition->Show(); if (text->IsModified()) { std::string title("*"); title += GetCurrentPage()->GetPageName(); - mwxNotebook->SetPageText(mwxNotebook->GetSelection(),title); + mwxNotebook->SetPageText(mwxNotebook->GetSelection(),std2wx(title)); } } //================================================================ -- 2.45.1