]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxColour as being passed by reference so the typemap will work correctly.
authorRobin Dunn <robin@alldunn.com>
Thu, 13 Jan 2005 21:13:31 +0000 (21:13 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 13 Jan 2005 21:13:31 +0000 (21:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/html.i

index 278b302de191b2db3bf752f91aba0e8bd7ce198e..f1e7dba1922168c91151d68d3510f3d450d26c8f 100644 (file)
@@ -227,6 +227,10 @@ public:
     void SetLinkColor(const wxColour& clr);
     wxColour GetActualColor();
     void SetActualColor(const wxColour& clr);
+    %pythoncode {
+        GetActualColour = GetActualColor
+        SetActualColour = SetActualColor
+    }
     void SetLink(const wxString& link);
     wxFont* CreateCurrentFont();
     wxHtmlLinkInfo GetLink();
@@ -606,7 +610,7 @@ public:
 
 class wxHtmlColourCell : public wxHtmlCell {
 public:
-    wxHtmlColourCell(wxColour clr, int flags = wxHTML_CLR_FOREGROUND);
+    wxHtmlColourCell(const wxColour& clr, int flags = wxHTML_CLR_FOREGROUND);
 
 };