Revert wxAuiDefaultDockArt::DrawIcon API change
Mark the function as deprecated. It should not be part of the public API. It cannot be overridden and manually calling it has no lasting effect because DrawCaption calls it as well. Closes https://github.com/wxWidgets/wxWidgets/pull/943
This commit is contained in:
parent
455a45f5a8
commit
a3eeb4d0be
3 changed files with 19 additions and 3 deletions
|
|
@ -129,15 +129,19 @@ public:
|
|||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane) wxOVERRIDE;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
wxDEPRECATED_MSG("This is not intended for the public API")
|
||||
void DrawIcon(wxDC& dc,
|
||||
wxWindow *window,
|
||||
const wxRect& rect,
|
||||
wxAuiPaneInfo& pane);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
||||
void DrawCaptionBackground(wxDC& dc, const wxRect& rect, bool active);
|
||||
|
||||
void DrawIcon(wxDC& dc, wxWindow *window, const wxRect& rect, wxAuiPaneInfo& pane);
|
||||
|
||||
void InitBitmaps();
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue