- if wxPlatform != "__WXMAC__":
- tb.AddSeparator()
- cbID = wxNewId()
- tb.AddControl(wxComboBox(tb, cbID, "", choices=["", "This", "is a", "wxComboBox"],
- size=(150,-1), style=wxCB_DROPDOWN))
- EVT_COMBOBOX(self, cbID, self.OnCombo)
+ tb.AddSeparator()
+ cbID = wxNewId()
+ tb.AddControl(wxComboBox(tb, cbID, "", choices=["", "This", "is a", "wxComboBox"],
+ size=(150,-1), style=wxCB_DROPDOWN))
+ EVT_COMBOBOX(self, cbID, self.OnCombo)
+ tb.AddControl(wxTextCtrl(tb, -1, "Toolbar controls!!", size=(150, -1)))