[ wxwindows-Bugs-1580909 ] SpinCtrl accepts text strings when pasted
SourceForge.net
noreply at sourceforge.net
Thu Oct 19 16:37:30 PDT 2006
Bugs item #1580909, was opened at 2006-10-19 19:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1580909&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Common
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ed Leafe (msborg)
Assigned to: Nobody/Anonymous (nobody)
Summary: SpinCtrl accepts text strings when pasted
Initial Comment:
The text component of a SpinCtrl allows all values to
be pasted in, even though it should be strictly
numeric. To reproduce:
Copy some plain text from any document to the regular
OS clipboard using the normal OS copy function.
Create a form with a SpinCtrl and run it.
Right-click on the text portion of the SpinCtrl, and
from the resulting context menu, select 'Paste'.
Observed: The string replaces the numeric value
displayed in the SpinCtrl.
Expected: only numeric values should be accepted in the
SpinCtrl when pasted.
Additional note: after pasting the text, it seems that
the underlying value is not affected. Clicking on one
of the spin buttons results in the displayed text
reverting back to the number that would have been
expected had the string never been pasted in the control.
Submitted by: Ed Leafe
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1580909&group_id=9863
More information about the wx-dev
mailing list