}
//=========================================================================
-void wxGUIEditorGraphicBBS::initTabPanelsManager() {
+void wxGUIEditorGraphicBBS::initTabPanelsManager()
+{
_notebook = new wxAuiNotebook(this, wxID_NOTEBOOK, wxDefaultPosition,
wxDefaultSize, wxAUI_NB_TOP | wxAUI_NB_TAB_MOVE
| wxAUI_NB_CLOSE_ON_ACTIVE_TAB | wxAUI_NB_TAB_FIXED_WIDTH
| wxAUI_NB_WINDOWLIST_BUTTON);
_tabsMgr = new wxTabPanelsManager(this);
_frameAUIMgr->AddPane(_notebook, wxAuiPaneInfo().CenterPane());
-
}
//=========================================================================
-void wxGUIEditorGraphicBBS::initPackageBrowser() {
+void wxGUIEditorGraphicBBS::initPackageBrowser()
+{
_pkgBrowser = new WxGUIPackageBrowser2(this);
_pkgBrowser->IncludeAll();
- _frameAUIMgr->AddPane(_pkgBrowser,
- wxAuiPaneInfo().Left().MinSize(480, 400).CloseButton(false));
+ _frameAUIMgr->AddPane(_pkgBrowser, wxAuiPaneInfo().Left().MinSize(30, 500).BestSize(750,500).CloseButton(false));
}
//================================================================
-void wxGUIEditorGraphicBBS::DoRegeneratePackageDoc(const std::string& pack) {
+void wxGUIEditorGraphicBBS::DoRegeneratePackageDoc(const std::string& pack)
+{
std::string mess("Regenerating doc for package '");
if (pack != "-a") {
mess += pack + "'";