wxTextValidator::SetIncludes inappropriately prohibits all the user input.
|Reported by:||jbbbms||Owned by:|
After executing wxTextValidator object's method SetIncludes, the user can't input anything on the associated window, unless he pastes text from the clipboard. This happens in wxGTK and wxMSW. On the other hand, method SetExcludes has no this suspected flaw.
If the pasted contents conform to the string array specified by wxTextValidator::SetIncludes, the dialog will close normally. If not, the dialog will show an error message (as it shall) and don't close. The attached file is the demo.
Maybe wxTextValidator::SetIncludes is supporsed to behave like a counterpart of wxTextValidator::SetExcludes, which checks the user input only when the dialog is closing.
Change History (4)
Changed 4 months ago by jbbbms
comment:2 Changed 4 months ago by vadz
- Milestone set to 3.0.1
- Resolution changed from fixed to port to stable
- Status changed from closed to portneeded