Use Set(name) instead of InitFromName(name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user