#ifndef _WX_COLOUR_H_
#define _WX_COLOUR_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "colour.h"
#endif
wxColour( const wxChar *colourName ) { InitFromName( wxString(colourName) ); }
#endif
+ // Get colour from name or wxNullColour
+ static wxColour CreateByName(const wxString& name);
+
wxColour( const wxColour& col ) { Ref(col); }
wxColour& operator = ( const wxColour& col ) { Ref(col); return *this; }