define wxColour as being passed by reference so the typemap will work correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -227,6 +227,10 @@ public:
|
|||||||
void SetLinkColor(const wxColour& clr);
|
void SetLinkColor(const wxColour& clr);
|
||||||
wxColour GetActualColor();
|
wxColour GetActualColor();
|
||||||
void SetActualColor(const wxColour& clr);
|
void SetActualColor(const wxColour& clr);
|
||||||
|
%pythoncode {
|
||||||
|
GetActualColour = GetActualColor
|
||||||
|
SetActualColour = SetActualColor
|
||||||
|
}
|
||||||
void SetLink(const wxString& link);
|
void SetLink(const wxString& link);
|
||||||
wxFont* CreateCurrentFont();
|
wxFont* CreateCurrentFont();
|
||||||
wxHtmlLinkInfo GetLink();
|
wxHtmlLinkInfo GetLink();
|
||||||
@@ -606,7 +610,7 @@ public:
|
|||||||
|
|
||||||
class wxHtmlColourCell : public wxHtmlCell {
|
class wxHtmlColourCell : public wxHtmlCell {
|
||||||
public:
|
public:
|
||||||
wxHtmlColourCell(wxColour clr, int flags = wxHTML_CLR_FOREGROUND);
|
wxHtmlColourCell(const wxColour& clr, int flags = wxHTML_CLR_FOREGROUND);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user