Initialized the controls on the widgets spinbutton page
authorJulian Smart <julian@anthemion.co.uk>
Tue, 14 May 2002 11:28:13 +0000 (11:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 14 May 2002 11:28:13 +0000 (11:28 +0000)
commit59b9edf0b390f9cd8e80475913ec94675ae8a427
tree6f7a79d5cef55e27ead9dacd679ab686f80dd035
parent44a5856d5ec4612f71a4466106e311e205f37032
Initialized the controls on the widgets spinbutton page
and checked for NULL in one of the event handlers, since
on the Mac the event handler may be called before the
control is properly initialized
Tested for an empty string in Mac's textctrl.cpp
else we get a crash if there is nothing in the text control

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/widgets/spinbtn.cpp
src/mac/carbon/textctrl.cpp
src/mac/textctrl.cpp