mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-20 22:06:25 +08:00
Fix wxAuiDefaultToolBarArt::Get{Label,Tool}Size "dc" params type
They are now wxReadOnlyDC and not wxDC. Closes #26122.
This commit is contained in:
committed by
Vadim Zeitlin
parent
e3c25deebb
commit
de3f658ca4
@@ -874,13 +874,27 @@ public:
|
||||
const wxRect& rect,
|
||||
int state);
|
||||
|
||||
/**
|
||||
Return the size of the label for the given item.
|
||||
|
||||
Note that the type of @a dc was wxDC until wxWidgets 3.3.0, where it
|
||||
was changed to wxReadOnlyDC as this function doesn't modify the DC
|
||||
contents.
|
||||
*/
|
||||
virtual wxSize GetLabelSize(
|
||||
wxDC& dc,
|
||||
wxReadOnlyDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item);
|
||||
|
||||
/**
|
||||
Return the size of the given item.
|
||||
|
||||
Note that the type of @a dc was wxDC until wxWidgets 3.3.0, where it
|
||||
was changed to wxReadOnlyDC as this function doesn't modify the DC
|
||||
contents.
|
||||
*/
|
||||
virtual wxSize GetToolSize(
|
||||
wxDC& dc,
|
||||
wxReadOnlyDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user