X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..70ddb200c10bb6f1075f4a39452fdcf77f84fdf5:/src/gtk1/colour.cpp diff --git a/src/gtk1/colour.cpp b/src/gtk1/colour.cpp index 21d852e55d..c57698a100 100644 --- a/src/gtk1/colour.cpp +++ b/src/gtk1/colour.cpp @@ -13,6 +13,7 @@ #endif #include "wx/gdicmn.h" +#include "wx/colour.h" #include "wx/gtk/private.h" #include @@ -160,7 +161,7 @@ void wxColour::InitFromName( const wxString &colourName ) 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 ); }