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);
|
SetRGB);
|
||||||
|
|
||||||
DocDeclStrName(
|
DocDeclStrName(
|
||||||
void , InitFromName(const wxString& colourName),
|
void , Set(const wxString& colourName),
|
||||||
"Sets the RGB intensity values using a colour name listed in
|
"Sets the RGB intensity values using a colour name listed in
|
||||||
``wx.TheColourDatabase``.", "",
|
``wx.TheColourDatabase``.", "",
|
||||||
SetFromName);
|
SetFromName);
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
wxString , GetAsString(long flags = wxC2S_NAME | wxC2S_CSS_SYNTAX) const,
|
wxString , GetAsString(long flags = wxC2S_NAME | wxC2S_CSS_SYNTAX) const,
|
||||||
"Return the colour as a string. Acceptable flags are:
|
"Return the colour as a string. Acceptable flags are:
|
||||||
|
Reference in New Issue
Block a user