]> Creatis software - creaContours.git/commitdiff
95%
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Fri, 7 Nov 2008 12:59:34 +0000 (12:59 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Fri, 7 Nov 2008 12:59:34 +0000 (12:59 +0000)
appli/wxContourGUIExample/wxContourGUIExample.cxx

index 39e109f67753a40681b0e66549e33cdef3ab33a2..9adaee30bea7d2a16e5b597bfff6d7571252f142 100644 (file)
@@ -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