wxGridCellNumberEditor doesn't check for bounds

I need to use a wxGridCellNumberEditor with bounds (min and max) but it doesn't validate its content. The proof is the wxPython demo itself "wxGrid showing Editors and Renderers". The "wxGridCellNumberEditor with min, max" is limited between 5 and 10005.

If I type "-1" then click on another cell, the previous cell takes the value "-1" and the wxGridCellNumberEditor is not complaining.

Any idea how a wxGridCellNumberEditor may be determined to validate data?

Many thanks,

Cristina.

···

-------------------------------------------------------
Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus.
Xnet automatically scans all messages for viruses using RAV AntiVirus.

Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat de virusi.

Disclaimer: RAV AntiVirus may not be able to detect all new viruses and variants. Please be aware that there is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible for any damages caused by viruses.