self.ReleaseMouse()
def OnRightUp(self, evt):
- self.Show(false)
+ self.Show(False)
self.Destroy()
def ProcessLeftDown(self, evt):
self.log.write("ProcessLeftDown\n")
- return false
+ return False
def OnDismiss(self):
self.log.write("OnDismiss\n")
sz = btn.GetSize()
win.Position(pos, (0, sz.height))
- win.Show(true)
+ win.Show(True)
def OnShowPopupTransient(self, evt):
sz = btn.GetSize()
win.Position(pos, (0, sz.height))
- win.Show(true)
+ win.Show(True)
class TestPopupWithListbox(wxPopupWindow):
def __init__(self, parent, style, log):