X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.cxx;h=cdbb0e8644c7d96e041b7bd3b9fd9bb982a7f16f;hb=95e01f9f2f29e0695194613b0068b2a06591306f;hp=3b6641effcea4a1e27d372e08e8f952c36781e2e;hpb=567028f33d052a54225024906cce14dc1558162f;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index 3b6641e..cdbb0e8 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -967,8 +967,7 @@ void wxGUIEditorGraphicBBS::OnCreateBlackBox(wxCommandEvent& event) { } //========================================================================= void wxGUIEditorGraphicBBS::OnPlugPackage(wxCommandEvent& event) { - //printf("EED wxGUIEditorGraphicBBS::OnPlugPackage ... not implemented ..\n"); - //this is the right code but it's left to include the corresponding commented libraries + //DFGO2012 Plug Package functionnalities long style = wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST; wxDirDialog* FD = new wxDirDialog( 0, @@ -1011,8 +1010,9 @@ void wxGUIEditorGraphicBBS::OnPlugPackage(wxCommandEvent& event) { #endif #endif - - wxMessageBox(_T(err),_T("Plug package"),wxOK | wxICON_ERROR); + wxMessageBox(crea::std2wx(err), _T("Plug package"),wxOK | wxICON_ERROR); + // THE FOLLOWING LINE GIVES ERRORS BECAUSE IT IS NECESSARY TO USE std2wx + //wxMessageBox( _T( err) , _T("Plug package"),wxOK | wxICON_ERROR); } } }while(userResponse != wxID_CANCEL);