]> Creatis software - creaMaracasVisu.git/commitdiff
v1.0.3 BUG 1404
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 4 Jun 2012 04:29:58 +0000 (04:29 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 4 Jun 2012 04:29:58 +0000 (04:29 +0000)
 - wxString definition in stereo wxComboBox

lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DViewCntrlPanel.cxx

index d1ed9dcfab09fc9d2ac99167ae5e761ce0144674..6b3a5cad0fb2eb69b43955e4fe2e5ec6991413a2 100644 (file)
@@ -61,16 +61,16 @@ wxVtkMPR3DViewCntrlPanel::wxVtkMPR3DViewCntrlPanel(wxWindow *parent, wxVtkMPR3DV
        _positionZ->SetSize(400,20);
 
        // Stereo
-       _cbStereo = new wxComboBox(panel, -1, "", wxDefaultPosition, wxDefaultSize, 0, NULL,wxCB_READONLY );    
-       _cbStereo->Append(" * NO STEREO");
-       _cbStereo->Append("   STEREO CRYSTAL EYES");
-       _cbStereo->Append("   STEREO RED BLUE");
-       _cbStereo->Append("   STEREO INTERLACED");
-       _cbStereo->Append("   STEREO LEFT");
-       _cbStereo->Append("   STEREO RIGHT");
-       _cbStereo->Append("   STEREO DRESDEN");
-       _cbStereo->Append(" * STEREO ANAGLYPH");
-       _cbStereo->Append("   STEREO CHECKERBOARD");
+       _cbStereo = new wxComboBox(panel, -1, wxString(""), wxDefaultPosition, wxDefaultSize, 0, NULL,wxCB_READONLY );  
+       _cbStereo->Append(wxString(" * NO STEREO"));
+       _cbStereo->Append(wxString("   STEREO CRYSTAL EYES"));
+       _cbStereo->Append(wxString("   STEREO RED BLUE"));
+       _cbStereo->Append(wxString("   STEREO INTERLACED"));
+       _cbStereo->Append(wxString("   STEREO LEFT"));
+       _cbStereo->Append(wxString("   STEREO RIGHT"));
+       _cbStereo->Append(wxString("   STEREO DRESDEN"));
+       _cbStereo->Append(wxString(" * STEREO ANAGLYPH"));
+       _cbStereo->Append(wxString("   STEREO CHECKERBOARD"));
        _cbStereo->Select(0);