From 10ec2fb1f1e87a63a77a7aa87de848b9b375f8d6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 30 Nov 2012 22:32:20 +0000 Subject: [PATCH] just add some extra info in a comment git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- etg/dc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etg/dc.py b/etg/dc.py index 4857ed9c..1c7a49a5 100644 --- a/etg/dc.py +++ b/etg/dc.py @@ -114,7 +114,7 @@ def run(): m = c.find('DrawLabel').findOverload('rectBounding') m.type = 'wxRect*' m.find('rectBounding').ignore() - m.factory = True # a new instance is being created + m.factory = True # a new instance of wxRect is being created m.setCppCode("""\ wxRect rv; self->DrawLabel(*text, *bitmap, *rect, alignment, indexAccel, &rv); @@ -122,6 +122,7 @@ def run(): """) c.addPyCode('DC.DrawImageLabel = wx.deprecated(DC.DrawLabel, "Use DrawLabel instead.")') + # Return the array instead of using an output parameter m = c.find('GetPartialTextExtents') m.type = 'wxArrayInt*'