Skip to content
Permalink
Browse files

Use correct doc parameter

(cherry picked from commit 643c1290af4c5213efbbf34686deb101b669116c)
  • Loading branch information...
RobinD42 committed Nov 5, 2019
1 parent 8a81455 commit 9c0d25219e6790b75f571ae83fe305fe870f483e
Showing with 3 additions and 3 deletions.
  1. +3 −3 etg/renderer.py
@@ -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);
@@ -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()

0 comments on commit 9c0d252

Please sign in to comment.
You can’t perform that action at this time.