-void wxColour::InitFromName(
- const wxString& sCol
-)
-{
- if ( wxTheColourDatabase )
- {
- wxColour col = wxTheColourDatabase->Find(sCol);
- if ( col.Ok() )
- {
- *this = col;
- return;
- }
- }
-
- // leave invalid
- Init();
-
-} // end of wxColour::InitFromName
-