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 » LineEdit, EditFields, DocEdit » EditIntSpin is to provide operator=(int)
EditIntSpin is to provide operator=(int) [message #13902] Fri, 01 February 2008 03:53 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Recently tried to write something like:
EditInt ei1;
ei1 = 0; //OK

EditIntSpin ei2;
ei2 = 0; //operator=(int) not found!

Compiler: MSC8.

My quick&dirty solution is as plain as simple.
EditCtrl.h, Line311, add:
EditIntSpin & operator=(int op) { EditInt::operator=(op); return *this; }

 
Read Message
Read Message
Previous Topic: LineEdit and WhenLeftClick
Next Topic: Best way to implement a two-way LineEdit
Goto Forum:
  


Current Time: Sat Apr 27 04:44:18 CEST 2024

Total time taken to generate the page: 0.09057 seconds