mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 19:40:12 +01:00
Provide hints for deprecated items about what should be used instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -118,7 +118,7 @@ def run():
|
||||
self->DrawLabel(*text, *bitmap, *rect, alignment, indexAccel, &rv);
|
||||
return new wxRect(rv);
|
||||
""")
|
||||
c.addPyCode('DC.DrawImageLabel = wx.deprecated(DC.DrawLabel)')
|
||||
c.addPyCode('DC.DrawImageLabel = wx.deprecated(DC.DrawLabel, "Use DrawLabel.")')
|
||||
|
||||
# Return the array instead of using an output parameter
|
||||
m = c.find('GetPartialTextExtents')
|
||||
|
||||
Reference in New Issue
Block a user