Skip to content

Commit

Permalink
Use correct doc parameter
Browse files Browse the repository at this point in the history
(cherry picked from commit 643c1290af4c5213efbbf34686deb101b669116c)
  • Loading branch information
RobinD42 committed Nov 5, 2019
1 parent 8a81455 commit 9c0d252
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etg/renderer.py
Expand Up @@ -44,9 +44,9 @@ def _addDrawTitleBarBitmap(c, isPureVirtual, doc):
method.ignore()
c.addCppMethod('void', 'DrawTitleBarBitmap',
'(wxWindow* win, wxDC& dc, const wxRect& rect, wxTitleBarButton button, int flags = 0)',
doc=draw_tb_bmp_doc,
doc=doc,
isVirtual=True,
isPureVirtual=isPureVirtual,
isPureVirtual=isPureVirtual,
body="""\
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
self->DrawTitleBarBitmap(win, *dc, *rect, button, flags);
Expand All @@ -67,7 +67,7 @@ def _addDrawTitleBarBitmap(c, isPureVirtual, doc):

draw_tb_bmp_doc = c.find('DrawTitleBarBitmap').briefDoc
_addDrawTitleBarBitmap(c, True, draw_tb_bmp_doc)


c = module.find('wxDelegateRendererNative')
c.mustHaveApp()
Expand Down

0 comments on commit 9c0d252

Please sign in to comment.