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:
Robin Dunn
2003-03-11 19:45:41 +00:00
parent a0c711c0d2
commit 9920902f18

View File

@@ -138,7 +138,7 @@ class wxTimeCtrl(wxTextCtrl):
# Validate initial value and set if appropriate
try:
self.SetValue(value)
except ValueError:
except:
self.SetValue('12:00:00 AM')
# set initial position and selection state