Example for usage of wx clean string
- Author
- MIP
#include <Gui/StringConv.hh>
#include <Base/Common/BIASpragmaStart.hh>
#include <wx/wx.h>
#include <Base/Common/BIASpragmaEnd.hh>
using namespace BIAS;
using namespace std;
class MyApp : public wxApp
{
virtual bool OnInit()
{
wxInitAllImageHandlers();
wxString in = wxGetTextFromUser(wxT("Enter some text"));
wxString message = wxT("Input: \n ") + in + wxT("\n\nOutput: \n ") + out;
wxMessageBox(message);
exit(0);
return true;
}
};
IMPLEMENT_APP(MyApp)