本文整理汇总了C++中wxAuiPaneInfo函数的典型用法代码示例。如果您正苦于以下问题:C++ wxAuiPaneInfo函数的具体用法?C++ wxAuiPaneInfo怎么用?C++ wxAuiPaneInfo使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了wxAuiPaneInfo函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DebuggerGUI
void CppLayoutPreviewer::SetParentAuiManager(wxAuiManager * manager)
{
parentAuiManager = manager;
//Create now subeditors if needed
if ( manager && editor.GetParentControl() )
{
if ( !debugger )
{
wxLogNull noLogPlease; //Avoid libpng warnings.
debugger = std::shared_ptr<DebuggerGUI>(new DebuggerGUI(editor.GetParentControl(), previewScene, [this](bool newState) {
playing = newState;
}));
if ( !parentAuiManager->GetPane("DBG").IsOk() )
parentAuiManager->AddPane( debugger.get(), wxAuiPaneInfo().Name( wxT( "DBG" ) ).Float().CloseButton( true ).Caption( _( "Debugger" ) ).MaximizeButton( true ).MinimizeButton( false ).CaptionVisible(true).MinSize(200, 100).Show(false) );
else
parentAuiManager->GetPane("DBG").Window(debugger.get());
}
if ( !profiler )
{
profiler = std::shared_ptr<ProfileDlg>(new ProfileDlg(editor.GetParentControl(), *this));
editor.GetLayout().SetProfiler(profiler.get());
if ( !parentAuiManager->GetPane("PROFILER").IsOk() )
parentAuiManager->AddPane( profiler.get(), wxAuiPaneInfo().Name( wxT( "PROFILER" ) ).Float().CloseButton( true ).Caption( _( "Profiling" ) ).MaximizeButton( true ).MinimizeButton( false ).CaptionVisible(true).MinSize(50, 50).BestSize(230,100).Show(false) );
else
parentAuiManager->GetPane("PROFILER").Window(profiler.get());
}
parentAuiManager->Update();
}
}
示例2: wxT
void CEditorMainFrame::AddPageToBook()
{
m_pLeft->Freeze();
m_pLeft->AddPage( m_pComponentModelTC, wxT("Component Model") );
m_pLeft->AddPage( m_pCurComponentTC, wxT("Current Conponent") );
m_pLeft->Thaw();
m_pRight->Freeze();
m_pRight->AddPage( m_pPropGridManager, wxT("Inspector") );
m_pRight->Thaw();
m_pBottom->Freeze();
m_pBottom->AddPage( new wxTextCtrl( m_pBottom, wxID_ANY, wxT("Some more text")), wxT("wxTextCtrl 1") );
m_pBottom->AddPage( m_pTimeBar, wxT("wxTextCtrl 2") );
m_pBottom->Thaw();
m_pCenter->Freeze();
m_pCenter->AddPage( m_pSplitter, wxT("wxTextCtrl 1") );
m_pCenter->Thaw();
m_Manager.AddPane(m_pLeft, wxAuiPaneInfo().CenterPane().
Name(wxT("Pane1")).
Left());
m_Manager.AddPane(m_pRight, wxAuiPaneInfo().CenterPane().
Name(wxT("Pane2")).
Right());
m_Manager.AddPane(m_pBottom, wxAuiPaneInfo().CenterPane().
Name(wxT("Pane3")).Caption(wxT("Pane Caption")).
Bottom());
m_Manager.AddPane(m_pCenter, wxAuiPaneInfo().CenterPane().
Name(wxT("Pane4")).Caption(wxT("Pane Caption")).
Center());
}
示例3: wxAuiPaneInfo
void MainFrame::CreateNoteBookPane()
{
m_mgr.AddPane(CreateLeftNotebook(), wxAuiPaneInfo().Name(_T("Left NoteBook")).Caption(_T("YUV info")).
BestSize(wxSize(300,100)).MaxSize(wxSize(500,100)).Left().Layer(1));
m_mgr.AddPane(CreateCenterNotebook(), wxAuiPaneInfo().Name(_T("Center NoteBook")).Center().Layer(0));
m_mgr.AddPane(CreateBottomNotebook(), wxAuiPaneInfo().Name(_T("Bottom NoteBook")).Bottom().Layer(1));
}
示例4: LLDBCallStackPane
void LLDBPlugin::InitializeUI()
{
if(!m_callstack) {
m_callstack = new LLDBCallStackPane(EventNotifier::Get()->TopFrame(), &m_connector);
m_mgr->GetDockingManager()->AddPane(
m_callstack,
wxAuiPaneInfo().MinSize(200, 200).Bottom().Position(0).CloseButton().Caption("Callstack").Name(
LLDB_CALLSTACK_PANE_NAME));
}
if(!m_breakpointsView) {
m_breakpointsView = new LLDBOutputView(EventNotifier::Get()->TopFrame(), this);
m_mgr->GetDockingManager()->AddPane(
m_breakpointsView,
wxAuiPaneInfo().MinSize(200, 200).Bottom().Position(1).CloseButton().Caption("Breakpoints").Name(
LLDB_BREAKPOINTS_PANE_NAME));
}
if(!m_localsView) {
m_localsView = new LLDBLocalsView(EventNotifier::Get()->TopFrame(), this);
m_mgr->GetDockingManager()->AddPane(
m_localsView,
wxAuiPaneInfo().MinSize(200, 200).Bottom().Position(0).CloseButton().Caption("Locals & Watches").Name(
LLDB_LOCALS_PANE_NAME));
}
if(!m_threadsView) {
m_threadsView = new LLDBThreadsView(EventNotifier::Get()->TopFrame(), this);
m_mgr->GetDockingManager()->AddPane(
m_threadsView,
wxAuiPaneInfo().MinSize(200, 200).Bottom().Position(0).CloseButton().Caption("Threads").Name(
LLDB_THREADS_PANE_NAME));
}
}
示例5: wxPanel
DebuggerPanel::DebuggerPanel(wxWindow* parent) : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(400, 600), wxTAB_TRAVERSAL)
{
m_aui_mgr.SetManagedWindow(this);
m_aui_mgr.AddPane(new DbgEmuPanel(this), wxAuiPaneInfo().Top());
m_aui_mgr.AddPane(new InterpreterDisAsmFrame(this), wxAuiPaneInfo().Center().CaptionVisible(false).CloseButton().MaximizeButton());
m_aui_mgr.Update();
}
示例6: DatalogChannelsPanel
void MainFrame::InitializeComponents(){
m_channelsPanel = new DatalogChannelsPanel(DatalogChannelsParams(&m_currentConfig, &_appPrefs, &m_appOptions, &m_datalogStore), this);
m_datalogPlayer.SetPlayerListener(m_channelsPanel);
_frameManager.AddPane(m_channelsPanel, wxAuiPaneInfo().Name(wxT(PANE_ANALYSIS)).Caption(wxT(CAPTION_CHANNELS)).Center().Hide().CloseButton(false).Show(true));
m_configPanel = new ConfigPanel(this, ConfigPanelParams(&m_raceAnalyzerComm, &m_currentConfig, &m_appOptions));
_frameManager.AddPane(m_configPanel, wxAuiPaneInfo().Name(wxT(PANE_CONFIGURATION)).Caption(wxT(CAPTION_CONFIG)).Center().Hide().CloseButton(false).Show(true));
_frameManager.Update();
}
示例7: wxAuiPaneInfo
void ASSDrawFrame::SetPanes()
{
m_mgr.AddPane(shapelib, wxAuiPaneInfo().Name(_T("library")).Caption(_T("Shapes Library")).
Right().Layer(2).Position(0).CloseButton(true).BestSize(wxSize(120, 480)).MinSize(wxSize(100, 200)));
m_mgr.AddPane(m_canvas, wxAuiPaneInfo().Name(_T("canvas")).CenterPane());
m_mgr.AddPane(srctxtctrl, wxAuiPaneInfo().Name(_T("commands")).Caption(_T("Drawing commands")).
Bottom().Layer(1).CloseButton(false).BestSize(wxSize(320, 48)));
if (settingsdlg)
m_mgr.AddPane(settingsdlg, wxAuiPaneInfo().Name(_T("settings")).Caption(_T("Settings")).
Right().Layer(3).Position(0).CloseButton(true).BestSize(wxSize(240, 480)).MinSize(wxSize(200, 200)).Show(false));
}
示例8: END_EVENT_TABLE
END_EVENT_TABLE() EDA_3D_FRAME::EDA_3D_FRAME( PCB_BASE_FRAME* parent,
const wxString& title,
long style ) :
EDA_BASE_FRAME( parent, DISPLAY3D_FRAME_TYPE, title,
wxDefaultPosition, wxDefaultSize, style, wxT( "Frame3D" ) )
{
m_canvas = NULL;
m_reloadRequest = false;
m_ortho = false;
// Give it an icon
wxIcon icon;
icon.CopyFromBitmap( KiBitmap( icon_3d_xpm ) );
SetIcon( icon );
GetSettings();
SetSize( m_FramePos.x, m_FramePos.y, m_FrameSize.x, m_FrameSize.y );
// Create the status line
static const int dims[5] = { -1, 100, 100, 100, 140 };
CreateStatusBar( 5 );
SetStatusWidths( 5, dims );
CreateMenuBar();
ReCreateMainToolbar();
// Make a EDA_3D_CANVAS
int attrs[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE, 16, 0 };
m_canvas = new EDA_3D_CANVAS( this, attrs );
m_auimgr.SetManagedWindow( this );
EDA_PANEINFO horiztb;
horiztb.HorizontalToolbarPane();
m_auimgr.AddPane( m_mainToolBar,
wxAuiPaneInfo( horiztb ).Name( wxT( "m_mainToolBar" ) ).Top() );
m_auimgr.AddPane( m_canvas,
wxAuiPaneInfo().Name( wxT( "DrawFrame" ) ).CentrePane() );
m_auimgr.Update();
// Fixes bug in Windows (XP and possibly others) where the canvas requires the focus
// in order to receive mouse events. Otherwise, the user has to click somewhere on
// the canvas before it will respond to mouse wheel events.
m_canvas->SetFocus();
}
示例9: wxToolBar
void ASSDrawFrame::SetToolBars()
{
drawtbar = new wxToolBar(this, wxID_ANY, __DPDS__ , wxTB_FLAT | wxTB_TEXT | wxTB_NODIVIDER | wxTB_HORIZONTAL);
drawtbar->AddTool(TB_CLEAR, _T("Clear"), wxBITMAP(new_), wxNullBitmap, wxITEM_NORMAL, _T(""), TIPS_CLEAR);
//tbar->AddTool(TB_EDITSRC, _T("Source"), wxBITMAP(src_), wxNullBitmap, wxITEM_NORMAL, _T(""), TIPS_EDITSRC);
drawtbar->AddCheckTool(TB_PREVIEW, _T("Preview"), wxBITMAP(preview_), wxNullBitmap, _T(""), TIPS_PREVIEW);
//drawtbar->AddTool(TB_TRANSFORM, _T("Transform"), wxBITMAP(rot_), wxNullBitmap, wxITEM_NORMAL, _T(""), TIPS_TRANSFORM);
zoomslider = new wxSlider(drawtbar, TB_ZOOMSLIDER, 1000, 100, 5000, __DPDS__ );
//zoomslider->SetSize(280, zoomslider->GetSize().y);
zoomslider->Connect(wxEVT_SCROLL_LINEUP, wxScrollEventHandler(ASSDrawFrame::OnZoomSliderChanged), NULL, this);
zoomslider->Connect(wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler(ASSDrawFrame::OnZoomSliderChanged), NULL, this);
zoomslider->Connect(wxEVT_SCROLL_PAGEUP, wxScrollEventHandler(ASSDrawFrame::OnZoomSliderChanged), NULL, this);
zoomslider->Connect(wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler(ASSDrawFrame::OnZoomSliderChanged), NULL, this);
zoomslider->Connect(wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler(ASSDrawFrame::OnZoomSliderChanged), NULL, this);
zoomslider->Connect(wxEVT_SCROLL_CHANGED, wxScrollEventHandler(ASSDrawFrame::OnZoomSliderChanged), NULL, this);
drawtbar->AddControl(zoomslider);
drawtbar->Realize();
m_mgr.AddPane(drawtbar, wxAuiPaneInfo().Name(_T("drawtbar")).Caption(TBNAME_DRAW).
ToolbarPane().Top().Position(0).Dockable(true).LeftDockable(false).RightDockable(false));
modetbar = new wxToolBar(this, wxID_ANY, __DPDS__ , wxTB_FLAT | wxTB_TEXT | wxTB_NODIVIDER | wxTB_HORIZONTAL);
modetbar->AddRadioTool(MODE_ARR, _T("Drag"), wxBITMAP(arr_), wxNullBitmap, _T(""), TIPS_ARR);
modetbar->AddRadioTool(MODE_M, _T("Move"), wxBITMAP(m_), wxNullBitmap, _T(""), TIPS_M);
//modetbar->AddRadioTool(MODE_N, _T("Move*"), wxBITMAP(n_), wxNullBitmap, _T(""), TIPS_N);
modetbar->AddRadioTool(MODE_L, _T("Line"), wxBITMAP(l_), wxNullBitmap, _T(""), TIPS_L);
modetbar->AddRadioTool(MODE_B, _T("Bezier"), wxBITMAP(b_), wxNullBitmap, _T(""), TIPS_B);
//modetbar->AddRadioTool(MODE_S, _T("Spline"), wxBITMAP(s_), wxNullBitmap, _T(""), TIPS_S);
//modetbar->AddRadioTool(MODE_P, _T("Extend"), wxBITMAP(p_), wxNullBitmap, _T(""), TIPS_P);
//modetbar->AddRadioTool(MODE_C, _T("Close"), wxBITMAP(c_), wxNullBitmap, _T(""), TIPS_C);
modetbar->AddRadioTool(MODE_DEL, _T("Delete"), wxBITMAP(del_), wxNullBitmap, _T(""), TIPS_DEL);
modetbar->AddRadioTool(MODE_SCALEROTATE, _T("Scale/Rotate"), wxBITMAP(sc_rot_), wxNullBitmap, _T(""), TIPS_SCALEROTATE);
modetbar->AddRadioTool(MODE_NUT_BILINEAR, _T("Bilinear"), wxBITMAP(nut_), wxNullBitmap, _T(""), TIPS_NUTB);
//modetbar->AddRadioTool(MODE_NUT_PERSPECTIVE, _T("NUT:P"), wxBITMAP(arr_), wxNullBitmap, _T(""), _T(""));
modetbar->Realize();
m_mgr.AddPane(modetbar, wxAuiPaneInfo().Name(_T("modetbar")).Caption(TBNAME_MODE).
ToolbarPane().Top().Position(1).Dockable(true).LeftDockable(false).RightDockable(false));
bgimgtbar = new wxToolBar(this, wxID_ANY, __DPDS__ , wxTB_FLAT | wxTB_TEXT | wxTB_NODIVIDER | wxTB_HORIZONTAL);
bgimgtbar->SetToolBitmapSize(wxSize(24,15));
bgimgtbar->AddCheckTool(DRAG_DWG, _T("Pan drawing"), wxBITMAP(pan_shp), wxNullBitmap, _T(""), TIPS_DWG);
bgimgtbar->AddCheckTool(DRAG_BGIMG, _T("Pan background"), wxBITMAP(pan_bg), wxNullBitmap, _T(""), TIPS_BGIMG);
//bgimgtbar->AddRadioTool(DRAG_BOTH, _T("Pan both"), wxBITMAP(pan_both), wxNullBitmap, _T(""), TIPS_BOTH);
bgimgtbar->Realize();
m_mgr.AddPane(bgimgtbar, wxAuiPaneInfo().Name(_T("bgimgtbar")).Caption(TBNAME_BGIMG).
ToolbarPane().Top().Position(2).Dockable(true).LeftDockable(false).RightDockable(false));
}
示例10: SetIcons
void PWUpdaterFrame::CreateControls()
{
/* icons */
wxIconBundle icons;
icons.AddIcon(wxIcon(ruby_16_xpm));
icons.AddIcon(wxIcon(ruby_32_xpm));
icons.AddIcon(wxIcon(ruby_48_xpm));
SetIcons(icons);
/* menu bar */
wxMenu *file_menu = new wxMenu;
file_menu->Append(wxID_EXIT, _("&Quit"), _("Quit this program."));
wxMenu *view_menu = new wxMenu;
view_menu->AppendCheckItem(myID_MBAR_VIEW_LOG, _("Log Message\tCTRL+F1"), _("Show or hide the log message."));
view_menu->AppendSeparator();
view_menu->Append(wxID_PREFERENCES, _("&Preferences"), _("Modify user configuration."));
wxMenu *help_menu = new wxMenu;
help_menu->Append(wxID_ABOUT, _("&About"), _("About this program."));
wxMenuBar *menuBar = new wxMenuBar;
menuBar->Append(file_menu, _("&File"));
menuBar->Append(view_menu, _("&View"));
menuBar->Append(help_menu, _("&Help"));
SetMenuBar(menuBar);
/* tool bar */
/* status bar */
wxStatusBar *statBar = new wxStatusBar(this, myID_FRAME_STATUSBAR, wxSTB_DEFAULT_STYLE);
int stBarWidths[STATBAR_FLD_MAX] = { -1, -3 };
statBar->SetFieldsCount(STATBAR_FLD_MAX);
statBar->SetStatusWidths(STATBAR_FLD_MAX, stBarWidths);
SetStatusBar(statBar);
/* aui manager & panes */
_auiMgr.SetManagedWindow(this);
_auiMgr.SetFlags(_auiMgr.GetFlags() | wxAUI_MGR_LIVE_RESIZE);
_auiMgr.AddPane(new LogPane(this),
wxAuiPaneInfo().Name(PANE_NAME_LOG).Caption(_("Log Window")).
CloseButton(true).DestroyOnClose(false).MinSize(750, 120).
Bottom().LeftDockable(false).RightDockable(false).TopDockable(false).
Hide());
_auiMgr.AddPane(new DownloadPane(this, myID_PANE_DOWNLOAD),
wxAuiPaneInfo().Name(PANE_NAME_DOWNLOAD).CaptionVisible(false).
CenterPane().CloseButton(false).DestroyOnClose(false));
_auiMgr.Update();
}
示例11: wxPanel
DebuggerPanel::DebuggerPanel(wxWindow* parent) : wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(400, 600), wxTAB_TRAVERSAL)
{
m_aui_mgr.SetManagedWindow(this);
m_nb = new wxAuiNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize,
wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT |
wxAUI_NB_TAB_EXTERNAL_MOVE | wxAUI_NB_SCROLL_BUTTONS |
wxAUI_NB_WINDOWLIST_BUTTON | wxAUI_NB_TAB_MOVE | wxNO_BORDER);
m_aui_mgr.AddPane(new DbgEmuPanel(this), wxAuiPaneInfo().Top());
m_aui_mgr.AddPane(m_nb, wxAuiPaneInfo().Center().CaptionVisible(false).CloseButton().MaximizeButton());
m_aui_mgr.Update();
m_app_connector.Connect(wxEVT_DBG_COMMAND, wxCommandEventHandler(DebuggerPanel::HandleCommand), (wxObject*)0, this);
}
示例12: wxPanel
CWatchWindow::CWatchWindow(wxWindow* parent, wxWindowID id,
const wxPoint& position, const wxSize& size,
long style, const wxString& name)
: wxPanel(parent, id, position, size, style, name)
, m_GPRGridView(nullptr)
{
m_mgr.SetManagedWindow(this);
m_mgr.SetFlags(wxAUI_MGR_DEFAULT | wxAUI_MGR_LIVE_RESIZE);
m_GPRGridView = new CWatchView(this);
m_mgr.AddPane(new CWatchToolbar(this, wxID_ANY), wxAuiPaneInfo().ToolbarPane().Top().
LeftDockable(true).RightDockable(true).BottomDockable(false).Floatable(false));
m_mgr.AddPane(m_GPRGridView, wxAuiPaneInfo().CenterPane());
m_mgr.Update();
}
示例13: wxAuiToolBar
void reToolManager::CreateToolbars(){
m_TransformToolbar = new wxAuiToolBar(m_owner);
m_TransformToolbar->SetToolBitmapSize(wxSize(16, 16));
wxAuiToolBarItem* item = m_TransformToolbar->AddTool(reTOOL_SELECT, "Select", wxBitmap("assets/tool-select.png", wxBITMAP_TYPE_PNG));
item->SetKind(wxITEM_RADIO);
item->SetState(wxAUI_BUTTON_STATE_CHECKED);
m_TransformToolbar->AddTool(reTOOL_TRANSLATE, "Translate", wxBitmap("assets/tool-translate.png", wxBITMAP_TYPE_PNG))->SetKind(wxITEM_RADIO);
m_TransformToolbar->AddTool(reTOOL_ROTATE, "Rotate", wxBitmap("assets/tool-rotate.png", wxBITMAP_TYPE_PNG))->SetKind(wxITEM_RADIO);
m_TransformToolbar->AddTool(reTOOL_SCALE, "Scale", wxBitmap("assets/tool-scale.png", wxBITMAP_TYPE_PNG))->SetKind(wxITEM_RADIO);
m_TransformToolbar->Realize();
m_TransformToolbar->Bind(wxEVT_MENU, &reToolManager::OnToolbarToolClick, this);
m_manager->AddPane(m_TransformToolbar, wxAuiPaneInfo()
.Name("Transform Tools")
.Caption("Transform Tools")
.ToolbarPane()
.Top()
.Position(0)
.Floatable(false)
.Gripper(false));
}
示例14: WXUNUSED
// What to do when a view is created. Creates actual
// windows for displaying the view.
bool wxStfView::OnCreate(wxDocument *doc, long WXUNUSED(flags) )
{
childFrame = wxGetApp().CreateChildFrame(doc, this);
if (childFrame==NULL) {
return false;
}
// extract file name:
wxFileName fn(doc->GetFilename());
childFrame->SetTitle(fn.GetName());
graph = GetMainFrame()->CreateGraph(this, childFrame);
if (graph==NULL) {
return false;
}
childFrame->GetMgr()->AddPane( graph, wxAuiPaneInfo().Caption(wxT("Traces")).Name(wxT("Traces")).CaptionVisible(true).
CloseButton(false).Centre().PaneBorder(true) );
childFrame->GetMgr()->Update();
// childFrame->ActivateGraph();
#if defined(__X__) || defined(__WXMAC__)
// X seems to require a forced resize
// childFrame->SetClientSize(800,600);
#endif
childFrame->Show(true);
Activate(true);
return true;
}
示例15: CreateNoteBook
void CreateNoteBook()
{
// Notebook
// Tabs at bottom not implemented yet
wxAuiNotebook* noteBook = new wxAuiNotebook(this, wxID_ANY);
noteBook->SetWindowStyle(wxAUI_NB_SCROLL_BUTTONS | wxAUI_NB_TAB_MOVE);
wxTreeCtrl* tree = new wxTreeCtrl(noteBook);
mTreeImageList.Add(wxIcon(wxT("./icons/chart_organisation.png"), wxBITMAP_TYPE_PNG));
mTreeImageList.Add(wxIcon(wxT("./icons/brick.png"), wxBITMAP_TYPE_PNG));
mTreeImageList.Add(wxIcon(wxT("./icons/lightbulb.png"), wxBITMAP_TYPE_PNG));
tree->SetImageList(&mTreeImageList);
wxTreeItemId rootid = tree->AddRoot(wxT("SceneGraph"), 0);
wxTreeItemId id = tree->AppendItem(rootid, wxT("Node"), 0);
tree->AppendItem(id, wxT("Ninja1"), 1);
tree->AppendItem(id, wxT("Ninja2"), 1);
tree->AppendItem(id, wxT("Ninja3"), 1);
id = tree->AppendItem(rootid, wxT("n2"), 0);
tree->AppendItem(id, wxT("Light1"), 2);
tree->ExpandAll();
noteBook->AddPage(tree, wxEmptyString, true, wxBitmap(wxT("./icons/chart_organisation.png"), wxBITMAP_TYPE_PNG));
noteBook->AddPage(new wxPanel(noteBook), wxEmptyString, false, wxBitmap(wxT("./icons/shape_square_edit.png"), wxBITMAP_TYPE_PNG));
noteBook->AddPage(new wxPanel(noteBook), wxEmptyString, false, wxBitmap(wxT("./icons/page_lightning.png"), wxBITMAP_TYPE_PNG));
mAuiManager->AddPane(noteBook, wxAuiPaneInfo().
Name(wxT("scene")).Caption(wxT("Scene")).
DefaultPane().Left().TopDockable(false).BottomDockable(false).
CloseButton(false).Layer(1).MinSize(150, 100));
}