git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2012
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
pTBar4->EnableTool( 4, FALSE );
#else
pTBar4->EnableTool( 4, FALSE );
#else
- pTBar2->AddTool( 2, search_xpm );
+ pTBar2->AddTool( 2, search_xpm, "" );
//pTBar2->AddSeparator();
//pTBar2->AddSeparator();
- pTBar2->AddTool( 3, bookmarks_xpm );
- pTBar2->AddTool( 4, nextmark_xpm );
- pTBar2->AddTool( 5, prevmark_xpm );
+ pTBar2->AddTool( 3, bookmarks_xpm, "" );
+ pTBar2->AddTool( 4, nextmark_xpm, "" );
+ pTBar2->AddTool( 5, prevmark_xpm, "" );
wxDynamicToolBar* pTBar3 = new wxDynamicToolBar( mpInternalFrm, -1 );
wxDynamicToolBar* pTBar3 = new wxDynamicToolBar( mpInternalFrm, -1 );
pToolBar->AddTool( 1005, wxBitmap("copy_icon") );
pToolBar->AddTool( 1006, wxBitmap("paste_icon") );
#else
pToolBar->AddTool( 1005, wxBitmap("copy_icon") );
pToolBar->AddTool( 1006, wxBitmap("paste_icon") );
#else
- pToolBar->AddTool( 1001, wxBitmap(new_xpm) );
- pToolBar->AddTool( 1002, wxBitmap(open_xpm) );
- pToolBar->AddTool( 1003, wxBitmap(save_xpm) );
+ pToolBar->AddTool( 1001, wxBitmap(new_xpm), "" );
+ pToolBar->AddTool( 1002, wxBitmap(open_xpm), "" );
+ pToolBar->AddTool( 1003, wxBitmap(save_xpm), "" );
- pToolBar->AddTool( 1004, wxBitmap(cut_xpm) );
- pToolBar->AddTool( 1005, wxBitmap(copy_xpm) );
- pToolBar->AddTool( 1006, wxBitmap(paste_xpm) );
+ pToolBar->AddTool( 1004, wxBitmap(cut_xpm), "" );
+ pToolBar->AddTool( 1005, wxBitmap(copy_xpm), "" );
+ pToolBar->AddTool( 1006, wxBitmap(paste_xpm), "" );
#endif
layout.AddBar( pToolBar, // bar window (can be NULL)
sizes10, wxTOP, // alignment ( 0-top,1-bottom, etc)
#endif
layout.AddBar( pToolBar, // bar window (can be NULL)
sizes10, wxTOP, // alignment ( 0-top,1-bottom, etc)