]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialog.cxx
creaMaracasVisu
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / HistogramDialog.cxx
index bdbe707bca9748028c449631f15d7732e7008513..2a23323b69f0651648ce21936f1952c33756d669 100644 (file)
@@ -137,7 +137,7 @@ void HistogramDialog::setInfoPanExtraControls(std::vector<HistogramDialogComboBo
                }       
                
                wxButton* button = new wxButton(_panextracontrols,wxID_ANY);                    
-               button->SetToolTip("Add the current color to the list of predefined");          
+               button->SetToolTip(wxString("Add the current color to the list of predefined",wxConvUTF8));
                button->SetLabel(wxString(_T("Add")));
                Connect(button->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&HistogramDialog::OnEditColorsCombo);                             
                _panextracontrols->GetSizer()->Add(button);                                             
@@ -152,14 +152,14 @@ void HistogramDialog::setInfoPanExtraControls(std::vector<HistogramDialogComboBo
 wxSizer* HistogramDialog::getBitmapButtonDelete(wxBitmap bitmap){
        //wxCheckBox* checkbox = new wxCheckBox(_panextracontrols,wxID_ANY,_T(""));
        wxBitmap bitmap0(Delete_xpm);
-       wxBitmapButton* deletebutton = new wxBitmapButton(_panextracontrols,wxID_ANY,bitmap0,wxDefaultPosition,wxSize(20,20));  
-       deletebutton->SetToolTip("Delete the color from the list");
+       wxBitmapButton* deletebutton = new wxBitmapButton(_panextracontrols,wxID_ANY,bitmap0,wxDefaultPosition,wxSize(20,20));
+       deletebutton->SetToolTip(wxString("Delete the color from the list",wxConvUTF8));
        Connect(deletebutton->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&HistogramDialog::OnDeleteColor);
-       _deletebuttonsvector.push_back(deletebutton);
+        _deletebuttonsvector.push_back(deletebutton);
        
        //wxBitmap bitmap0(OpenImage_xpm);
        wxBitmapButton* button = new wxBitmapButton(_panextracontrols,wxID_ANY,bitmap,wxDefaultPosition,wxSize(30,30));                 
-       button->SetToolTip("Load the current color configuration.");
+       button->SetToolTip(wxString("Load the current color configuration.",wxConvUTF8));
        bitmapbuttonsvect.push_back(button);                    
        Connect(button->GetId(), wxEVT_COMMAND_BUTTON_CLICKED, (wxObjectEventFunction)&HistogramDialog::OnEditColorsCombo);
        /*char c[10];
@@ -766,4 +766,4 @@ void HistogramDialog::GetValuesColorPointsFunction(std::vector<double>& greyleve
 void HistogramDialog::SetFunctions(vtkPiecewiseFunction* _opac, vtkColorTransferFunction* _color){
        _tfun = _opac;
        _ctfun = _color;        
-}
\ No newline at end of file
+}