diff host/tools/configtool/standalone/wxwin/configitem.cpp @ 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 0d0f03f76f6a
children 663ef593022e
line wrap: on
line diff
--- 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)
 {
 }