+ tb.AddSeparator()
+ cbID = wx.NewId()
+
+ tb.AddControl(
+ wx.ComboBox(
+ tb, cbID, "", choices=["", "This", "is a", "wxComboBox"],
+ size=(150,-1), style=wx.CB_DROPDOWN
+ ))
+
+ self.Bind(wx.EVT_COMBOBOX, self.OnCombo, id=cbID)
+ tb.AddControl(wx.TextCtrl(tb, -1, "Toolbar controls!!", size=(150, -1)))
+
+ # Final thing to do for a toolbar is call the Realize() method. This
+ # causes it to render (more or less, that is).