+// ----------------------------------------------------------------------------
+// deprecated wxColourDatabase methods
+// ----------------------------------------------------------------------------
+
+wxColour *wxColourDatabase::FindColour(const wxString& name)
+{
+ wxColour col = Find(name);
+ if ( !col.Ok() )
+ return NULL;
+
+ return new wxColour(col);
+}
+
+void wxColourDatabase::AddColour(const wxString& name, wxColour *colour)
+{
+ wxCHECK_RET( colour, _T("NULL pointer in wxColourDatabase::AddColour") );
+
+ AddColour(name, wxColour(*colour));
+}
+
+// ============================================================================
+// stock objects
+// ============================================================================
+