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 » Menus&Toolbars » private-ness of ToolButton::GetImage()
private-ness of ToolButton::GetImage() [message #31122] Sun, 06 February 2011 15:55 Go to next message
galious is currently offline  galious
Messages: 28
Registered: March 2008
Promising Member
Hi,

I wanted to created a new type of toolbutton, with a button and a droplist icon next to it. Clicking the button will executed the default action, while clicking the droplist-icon will present a droplist.

While overriding the ToolButton I've encountered that 'UPP::Image GetImage() const;' is declared private.

As I've to get the size of the image in my derived class I need this to be at least protected. Is there any rationale this has been declared private?

Best regards,

Martin

[Updated on: Sun, 06 February 2011 16:15]

Report message to a moderator

Re: private-ness of ToolButton::GetImage() [message #31281 is a reply to message #31122] Fri, 18 February 2011 13:00 Go to previous message
mirek is currently offline  mirek
Messages: 12098
Registered: November 2005
Ultimate Member
It is now public.

Mirek
Previous Topic: Tray Menu alignement bug
Next Topic: How do I create vertical toolbars
Goto Forum:
  


Current Time: Wed Nov 13 10:35:40 CET 2019

Total time taken to generate the page: 0.01245 seconds