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:
parent
4b60a5d70f
commit
85f9dd19da
@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user