backport of XRCed changes from today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -397,9 +397,11 @@ class ParamUnit(PPanel):
|
||||
def GetValue(self):
|
||||
return self.text.GetValue()
|
||||
def SetValue(self, value):
|
||||
self.freeze = True
|
||||
if not value: value = '0'
|
||||
self.text.SetValue(value)
|
||||
self.Change(0)
|
||||
self.freeze = False
|
||||
def Change(self, x):
|
||||
self.freeze = True
|
||||
# Check if we are working with dialog units
|
||||
|
Reference in New Issue
Block a user