From b875b24962d04478a247cc743a453f113e34b3cd Mon Sep 17 00:00:00 2001 From: Juan Prieto Date: Fri, 7 Nov 2008 12:59:34 +0000 Subject: [PATCH] 95% --- appli/wxContourGUIExample/wxContourGUIExample.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index 39e109f..9adaee3 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -138,7 +138,7 @@ bool wxTheApplication :: OnInit() //JCP 21 - 10 - 08 //wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 - Use limited to the research team (Creatis-LRMN)"), wxPoint(50,50), wxSize(800, 600) ); wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(50,50), wxSize(800, 600) ); - frame = new wxContourMainFrame( frame1, wxID_ANY, wxString(""), wxPoint(50,50), wxSize(800, 600) ); + frame = new wxContourMainFrame( frame1, wxID_ANY, wxString(_T("")), wxPoint(50,50), wxSize(800, 600) ); //frame = new wxContourMainFrame( NULL, wxID_ANY, wxT("ROI Application - Evaluation version, 17 Oct 2008 - Use limited to the research team (Creatis-LRMN)"), wxPoint(50,50), wxSize(800, 600) ); frame1->CreateStatusBar(); @@ -198,9 +198,12 @@ bool wxTheApplication :: OnInit() return TRUE; } +#if(WIN32) int main(int argc, char* argv[]) { return WinMain(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), SW_SHOWNORMAL); } +#else +#endif -- 2.45.1