]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/html.i
define wxColour as being passed by reference so the typemap will work correctly.
[wxWidgets.git] / 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);
 
 };