Changed (again) how the Python global interpreter lock is handled as
well as the Python thread state. This time it works on SMP machines without barfing and is also still compatible with Python debuggers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,8 @@ class TestRadioButtons(wxPanel):
|
||||
|
||||
wxRadioButton(self, 32, "wxRadioButton", (235, 35))
|
||||
wxRadioButton(self, 33, "wxRadioButton", (235, 55))
|
||||
EVT_RADIOBUTTON(self, 32, self.EvtRadioButton)
|
||||
EVT_RADIOBUTTON(self, 33, self.EvtRadioButton)
|
||||
|
||||
rb = wxRadioBox(self, 35, "", wxPoint(35, 120), wxDefaultSize,
|
||||
sampleList, 3, wxRA_SPECIFY_COLS | wxNO_BORDER)
|
||||
@@ -29,6 +31,9 @@ class TestRadioButtons(wxPanel):
|
||||
def EvtRadioBox(self, event):
|
||||
self.log.WriteText('EvtRadioBox: %d\n' % event.GetInt())
|
||||
|
||||
def EvtRadioButton(self, event):
|
||||
self.log.write('EvtRadioButton:%d\n' % event.GetInt())
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
def runTest(frame, nb, log):
|
||||
|
Reference in New Issue
Block a user