# HG changeset patch # User jld # Date 1157971733 0 # Node ID 4a8aaf2d79cffab74763c1b45cb9ce3930b000fa # Parent c081d2e2993f359fa6ac922c461da783a8bb2825 * standalone/wxwin/configitem.cpp: Allow full 32-bit signed integer range when editing CDL items using the ecIntegerEditorCtrl. diff --git a/host/tools/configtool/ChangeLog b/host/tools/configtool/ChangeLog --- a/host/tools/configtool/ChangeLog +++ b/host/tools/configtool/ChangeLog @@ -1,3 +1,8 @@ +2006-09-06 John Dallaway + + * standalone/wxwin/configitem.cpp: Allow full 32-bit signed integer + range when editing CDL items using the ecIntegerEditorCtrl. + 2006-07-11 John Dallaway * standalone/wxwin/configtool.cpp: Workaround an exception handling diff --git a/host/tools/configtool/standalone/wxwin/configitem.cpp b/host/tools/configtool/standalone/wxwin/configitem.cpp --- 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) { }