- Code: Select all
wxPaneInfo pi;
pi.Caption(wxT("Project"));
pi.Right();
pi.CloseButton(false);
wxFrameManager_.AddPane(project_tree, pi);
and when it just created, all ok (the Close button is not showed). But when pane become floating the close button is present and I can close the pane.