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
if (mwxNotebook->GetPageCount()==0) return;
GetCurrentPage()->Save(mFileNameFilter);
mwxNotebook->SetPageText(mwxNotebook->GetSelection(),
- GetCurrentPage()->GetPageName());
+ std2wx(GetCurrentPage()->GetPageName()));
}
//================================================================
// 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));
}
}
//================================================================