From b43636aa55e344dfe0d9c8a905066cad2e35f524 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 3 Oct 2006 21:29:04 +0000 Subject: [PATCH] Use Set(name) instead of InitFromName(name) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_colour.i | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wxPython/src/_colour.i b/wxPython/src/_colour.i index 37f638b23c..7d7b80b6d5 100644 --- a/wxPython/src/_colour.i +++ b/wxPython/src/_colour.i @@ -109,11 +109,12 @@ initialised with RGB values).", ""); SetRGB); DocDeclStrName( - void , InitFromName(const wxString& colourName), + void , Set(const wxString& colourName), "Sets the RGB intensity values using a colour name listed in ``wx.TheColourDatabase``.", "", SetFromName); + DocDeclStr( wxString , GetAsString(long flags = wxC2S_NAME | wxC2S_CSS_SYNTAX) const, "Return the colour as a string. Acceptable flags are: -- 2.47.2