]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/colour.cpp
Up-ported wxBusyCursor fix and wxCombBov default dialog
[wxWidgets.git] / src / gtk1 / colour.cpp
index 21d852e55d51f658d7a45ae4d15044008b0384ec..c57698a100ec6cb66f9b848f5c97b229aa761c5b 100644 (file)
@@ -13,6 +13,7 @@
 #endif
 
 #include "wx/gdicmn.h"
+#include "wx/colour.h"
 #include "wx/gtk/private.h"
 
 #include <gdk/gdk.h>
@@ -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 );
     }