Home » U++ Library support » Menus&Toolbars » private-ness of ToolButton::GetImage()
private-ness of ToolButton::GetImage() [message #31122] |
Sun, 06 February 2011 15:55  |
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
|
|
|
Goto Forum:
Current Time: Thu May 15 23:27:18 CEST 2025
Total time taken to generate the page: 0.02063 seconds
|