void PhpPlugin::FinalizeStartup() { // Create the debugger windows (hidden) wxWindow* parent = m_mgr->GetDockingManager()->GetManagedWindow(); m_debuggerPane = new PHPDebugPane(parent); m_mgr->GetDockingManager()->AddPane(m_debuggerPane, wxAuiPaneInfo() .Name("XDebug") .Caption("Call Stack & Breakpoints") .Hide() .CloseButton() .MaximizeButton() .Bottom() .Position(3)); m_xdebugLocalsView = new LocalsView(parent); m_mgr->GetDockingManager()->AddPane( m_xdebugLocalsView, wxAuiPaneInfo().Name("XDebugLocals").Caption("Locals").Hide().CloseButton().MaximizeButton().Bottom()); m_xdebugEvalPane = new EvalPane(parent); m_mgr->GetDockingManager()->AddPane( m_xdebugEvalPane, wxAuiPaneInfo().Name("XDebugEval").Caption("PHP").Hide().CloseButton().MaximizeButton().Bottom().Position(2)); // Check to see if the have a PHP executable setup // if not - update it PHPConfigurationData data; data.Load(); PHPLocator locator; if(locator.Locate()) { // update a PHP executable in the settings if(data.GetPhpExe().IsEmpty()) { data.SetPhpExe(locator.GetPhpExe().GetFullPath()); } data.Save(); } }