Lots of wx namespace updates for the wx.lib package and the demo from
Jeff Grimmett with some tweaks and changes from Robin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
# o intctrl needs the renamer applied.
|
||||
# o intctrl needs new event binders.
|
||||
#
|
||||
# 12/08/2003 - Jeff Grimmett (grimmtooth@softhome.net)
|
||||
#
|
||||
# o All issues corrected
|
||||
#
|
||||
|
||||
import wx
|
||||
import wx.lib.intctrl as intctrl
|
||||
@@ -70,10 +74,9 @@ class TestPanel( wx.Panel ):
|
||||
self.Bind(wx.EVT_CHECKBOX, self.OnSetAllowNone, self.allow_none)
|
||||
self.Bind(wx.EVT_CHECKBOX, self.OnSetAllowLong, self.allow_long)
|
||||
|
||||
# Once the intctrl library is updated, this should be too.
|
||||
intctrl.EVT_INT(self, self.min.GetId(), self.SetTargetMinMax)
|
||||
intctrl.EVT_INT(self, self.max.GetId(), self.SetTargetMinMax)
|
||||
intctrl.EVT_INT(self, self.target_ctl.GetId(), self.OnTargetChange)
|
||||
self.Bind(intctrl.EVT_INT, self.SetTargetMinMax, self.min)
|
||||
self.Bind(intctrl.EVT_INT, self.SetTargetMinMax, self.max)
|
||||
self.Bind(intctrl.EVT_INT, self.OnTargetChange, self.target_ctl)
|
||||
|
||||
|
||||
def OnSetMin( self, event ):
|
||||
|
Reference in New Issue
Block a user