#endif
#include "wx/gdicmn.h"
+#include "wx/colour.h"
#include "wx/gtk/private.h"
#include <gdk/gdk.h>
wxNode *node = (wxNode *) NULL;
if ( (wxTheColourDatabase) && (node = wxTheColourDatabase->Find(colourName)) )
{
- wxColour *col = (wxColour*)node->Data();
+ wxColour *col = (wxColour*)node->GetData();
UnRef();
if (col) Ref( *col );
}