Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » DateTimeCtrl
Re: DateTimeCtrl [message #8858 is a reply to message #8853] Tue, 03 April 2007 20:09 Go to previous messageGo to previous message
zsolt is currently offline  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
mubeta wrote on Tue, 03 April 2007 19:00


2) Typing some caratcter, like: -, +, etc in this control crash the application. The default language is IT-IT.



This is a serious bug in EditField class, I think.

Fix:
CtrlLib/EditField.cpp, int EditField::Insert(int pos, const WString& itext)

Change line
if(chr && charset == CHARSET_UNICODE || FromUnicode(chr, charset, 0))

to
if(chr && (charset == CHARSET_UNICODE || FromUnicode(chr, charset, 0)))
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: where is the linux install? (not sure where to ask this)
Next Topic: does U++ support VTK
Goto Forum:
  


Current Time: Wed Apr 30 04:58:56 CEST 2025

Total time taken to generate the page: 0.00773 seconds