}
//=========================================================================
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
+ //printf("EED wxGUIEditorGraphicBBS::OnPlugPackage ... not implemented ..\n");
+ //this is the right code but it's left to include the corresponding commented libraries
long style = wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST;
wxDirDialog* FD =
new wxDirDialog( 0,
DoRegeneratePackageDoc(pname);
DoRegenerateBoxesLists();
- wxMessageBox(_T("Package successfully plugged"),_T("Plug package"),wxOK | wxICON_INFORMATION);
+
+ _pkgBrowser->RebuildList();
+
+ wxMessageBox(_T("Package successfully plugged. Please restart bbEditor to see the new package in the package browser."),_T("Plug package"),wxOK | wxICON_INFORMATION);
userResponse = wxID_CANCEL;
}
else
}
}
}while(userResponse != wxID_CANCEL);
-*/
+
}
//=========================================================================
void wxGUIEditorGraphicBBS::OnEditConfig(wxCommandEvent& event) {
#include <bbtkWxGUIPackageBrowser2.h>
#include <bbtkWxGUIHtmlBrowser.h>
#include <bbtkBlackBoxDescriptor.h>
+#include <bbtkUtilities.h>
#include <bbtkConfigurationFile.h>
#include <bbtkSystemTools.h>