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:
Robin Dunn
2006-10-03 21:29:04 +00:00
parent a187b3619e
commit b43636aa55

View File

@@ -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: