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 » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl sorting and segfaults
Re: GridCtrl sorting and segfaults [message #16676 is a reply to message #16675] Mon, 07 July 2008 13:56 Go to previous messageGo to previous message
Sami is currently offline  Sami
Messages: 6
Registered: July 2008
Promising Member
Oblivion wrote on Mon, 07 July 2008 13:27


Why did you hack it? There are other solutions.



Because it has a bug? It's actually in LanguageInfo::Compare(const wchar *a,...).

Oblivion wrote on Mon, 07 July 2008 13:27


Also, you can convert a String to WString using (and vice versa);



I know, as I explained I use them.

One another thing, looking at the following:

int Compare(String a, String b) const { return Compare(a.ToWString(), b.ToWString()); }

...appears to be quite expensive (in such important function) if we have english characters only.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl - copy all [Feature Request]
Next Topic: ArrayCtrl: is it possible to customize the deletion message?
Goto Forum:
  


Current Time: Wed Jun 05 20:36:53 CEST 2024

Total time taken to generate the page: 0.01379 seconds