Mercurial > nand-ecoscentric
changeset 2294:4a8aaf2d79cf
* standalone/wxwin/configitem.cpp: Allow full 32-bit signed integer range
when editing CDL items using the ecIntegerEditorCtrl.
| author | jld |
|---|---|
| date | Mon, 11 Sep 2006 10:48:53 +0000 |
| parents | c081d2e2993f |
| children | 2d458d1401c4 |
| files | host/tools/configtool/ChangeLog host/tools/configtool/standalone/wxwin/configitem.cpp |
| diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,8 @@ +2006-09-06 John Dallaway <jld@ecoscentric.com> + + * standalone/wxwin/configitem.cpp: Allow full 32-bit signed integer + range when editing CDL items using the ecIntegerEditorCtrl. + 2006-07-11 John Dallaway <jld@ecoscentric.com> * standalone/wxwin/configtool.cpp: Workaround an exception handling
--- a/host/tools/configtool/standalone/wxwin/configitem.cpp +++ b/host/tools/configtool/standalone/wxwin/configitem.cpp @@ -2,6 +2,7 @@ // // ---------------------------------------------------------------------------- // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. +// Copyright (C) 2006 eCosCentric Limited // // This program is part of the eCos host tools. // @@ -1400,7 +1401,7 @@ IMPLEMENT_CLASS(ecIntegerEditorCtrl, wxS ecIntegerEditorCtrl::ecIntegerEditorCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style): - wxSpinCtrl(parent, id, wxEmptyString, pos, size, style, -32000, 32000, 0) + wxSpinCtrl(parent, id, wxEmptyString, pos, size, style, INT_MIN, INT_MAX, 0) { }
