Patch from Will Sadkin for dealing with emoty values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,7 +138,7 @@ class wxTimeCtrl(wxTextCtrl):
|
|||||||
# Validate initial value and set if appropriate
|
# Validate initial value and set if appropriate
|
||||||
try:
|
try:
|
||||||
self.SetValue(value)
|
self.SetValue(value)
|
||||||
except ValueError:
|
except:
|
||||||
self.SetValue('12:00:00 AM')
|
self.SetValue('12:00:00 AM')
|
||||||
|
|
||||||
# set initial position and selection state
|
# set initial position and selection state
|
||||||
|
Reference in New Issue
Block a user