]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/colour.h
removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and...
[wxWidgets.git] / include / wx / motif / colour.h
index b478f37b1945cf5faf86434a44f3e2b1d5b507f2..1d60215d654d3d1f0fe78955cc4a43300b5ac909 100644 (file)
@@ -66,7 +66,10 @@ public:
     inline bool operator == (const wxColour& colour) const { return (m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue); }
     
     inline bool operator != (const wxColour& colour) const { return (!(m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue)); }
-    
+
+    // Get colour from name or wxNullColour
+    static wxColour CreateByName(const wxString& name);
+
     // Allocate a colour, or nearest colour, using the given display.
     // If realloc is TRUE, ignore the existing pixel, otherwise just return
     // the existing one.