X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0eae5d09992c634488c5be14d5a378d6e1dedb71..89fad939ec0d423961d8e93b2a0927f5b77bf256:/wxPython/src/_colour.i?ds=sidebyside 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: