def __init__(self, parent, log):
self.log = log
wxPanel.__init__(self, parent, -1)
+ #self.SetBackgroundColour(wxBLUE)
sampleList = ['zero', 'one', 'two', 'three', 'four', 'five',
'six', 'seven', 'eight']
rb = wxRadioBox(self, 30, "wxRadioBox", wxPoint(35, 30), wxDefaultSize,
sampleList, 3, wxRA_SPECIFY_COLS)
EVT_RADIOBOX(self, 30, self.EvtRadioBox)
+ #rb.SetBackgroundColour(wxBLUE)
+ rb.SetToolTip(wxToolTip("This is a ToolTip!"))
+ wxRadioButton(self, 32, "wxRadioButton", (235, 35))
+ wxRadioButton(self, 33, "wxRadioButton", (235, 55))
- rb = wxRadioBox(self, 30, "wxRadioBox", wxPoint(35, 120), wxDefaultSize,
+ rb = wxRadioBox(self, 35, "", wxPoint(35, 120), wxDefaultSize,
sampleList, 3, wxRA_SPECIFY_COLS | wxNO_BORDER)
- EVT_RADIOBOX(self, 30, self.EvtRadioBox)
+ EVT_RADIOBOX(self, 35, self.EvtRadioBox)
def EvtRadioBox(self, event):