Displaying 1 result from an estimated 1 matches for "tb_nodivider".
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
..._close(Wx::ID_ANY) { | e | on_notebook_page_close(e) }
+ end
+
+ # create some toolbars
+ def setup_toolbars
+ tb1 = Wx::ToolBar.new( self, Wx::ID_ANY,
+ Wx::DEFAULT_POSITION,
+ Wx::DEFAULT_SIZE,
+ Wx::TB_FLAT|Wx::TB_NODIVIDER)
+ tb1.set_tool_bitmap_size( Wx::Size.new(48,48) )
+ tb1.add_tool( 101, "Test",
+ Wx::ArtProvider::get_bitmap(Wx::ART_ERROR) )
+ tb1.add_separator
+ tb1.add_tool( 102, "Test",
+ Wx::ArtProvider::get_bitmap(Wx::ART_QUESTION) )
+...