]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/colour.cpp
compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0
[wxWidgets.git] / src / gtk / colour.cpp
index 21d852e55d51f658d7a45ae4d15044008b0384ec..4d3b511afab77065d2b0b0c0df1d7e01c669e3d2 100644 (file)
@@ -160,7 +160,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 );
     }