]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/colour.h
Applied [ 827600 ] wxCalendarCtrl missing public
[wxWidgets.git] / include / wx / gtk / colour.h
index de243d30a7df5ca2c9a27995c76314b8d3a7a2b8..87b7e7a3b0636bf1ee9a76669c87332020205404 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKCOLOURH__
 #define __GTKCOLOURH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
@@ -80,6 +80,9 @@ public:
     unsigned char Blue() const;
 
 
+    // Get colour from name or wxNullColour
+    static wxColour CreateByName(const wxString& name);
+
     // Implementation part
     void CalcPixel( GdkColormap *cmap );
     int GetPixel() const;