mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
DrawTitleBarBitmap doesn't exist on all platforms, so call it conditionally.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,6 +39,19 @@ def run():
|
||||
assert isinstance(c, etgtools.ClassDef)
|
||||
c.addPrivateCopyCtor()
|
||||
|
||||
|
||||
#virtual void DrawTitleBarBitmap(wxWindow *win,
|
||||
# wxDC& dc,
|
||||
# const wxRect& rect,
|
||||
# wxTitleBarButton button,
|
||||
# int flags = 0) = 0;
|
||||
c.find('DrawTitleBarBitmap').setCppCode("""\
|
||||
#ifdef wxHAS_DRAW_TITLE_BAR_BITMAP
|
||||
self->DrawTitleBarBitmap(win, *dc, *rect, button, flags);
|
||||
#endif
|
||||
""")
|
||||
|
||||
|
||||
c = module.find('wxDelegateRendererNative')
|
||||
c.addPrivateCopyCtor()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user