U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Gui Tutorial 16 oops...
Re: Gui Tutorial 16 oops... [message #8960 is a reply to message #8958] Tue, 10 April 2007 11:01 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Sorry about this, it is "ordering bug".

The problem is that modifier methods (like SetInk) have to be chained in specific order, otherwise "return *this;" upcasts the chain to the base class (Pusher in this case).

Thinking about it, maybe we do not need to use chaining calls in layouts, that would solve the problem once forever... but too risky for 2007.1.

Mirek
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: problems with popup/pulldown menus on Gentoo/kde linux
Next Topic: Layouts, sizers etc
Goto Forum:
  


Current Time: Thu Jun 11 22:18:11 GMT+2 2026

Total time taken to generate the page: 0.00503 seconds