ToolBars Topic is solved

Это русская секция форума wxWidjets. В этой секции вы можете обсуждать любые вопросы, связанные с wxWidgets на вашем родном языке.
Post Reply
alexandros
Earned a small fee
Earned a small fee
Posts: 20
Joined: Mon Jul 25, 2011 4:06 pm

ToolBars

Post by alexandros »

Hello)))
I need to create multiple toolbars with drag and drop support

================= ==================
*ToolBarOne--------= *ToolBarTwo------------
*---------------------= *-------------------------
================= ==================

//i create single container for examply
wxPanel *panel=new wxPanel(this);
wxInitAllImageHandlers();

wxAuiToolBar *some_tools=new wxAuiToolBar(panel,-1,wxDefaultPosition,wxDefaultSize,wxAUI_TB_GRIPPER);
some_tools->AddTool(-1,wxT("Text"),wxBitmap(wxT("c:\\address.png"),wxBITMAP_TYPE_PNG));
some_tools->Realize();

How to create second tool bar?wxAuiToolBar * some_tools_two? and wxBoxSizer->Add(some_tools_two)?
Mojo
Super wx Problem Solver
Super wx Problem Solver
Posts: 401
Joined: Wed Sep 21, 2005 8:17 am
Location: Rostov-on-Don, Southern Russia

Re: ToolBars

Post by Mojo »

ты чего это в русской ветке на импортном языке.....
Win XP HE SP3, Vista
Xubuntu 12.04 LTS
wxWidgets-2.9.5
wxWidgets-3.0.0
alexandros
Earned a small fee
Earned a small fee
Posts: 20
Joined: Mon Jul 25, 2011 4:06 pm

Re: ToolBars

Post by alexandros »

Да перепутал... Решеную тему можно найти в буржуйчской ветке
Post Reply