projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix for wxUSE_RESOURCE_LOADING_IN_MSW == 0
[wxWidgets.git]
/
src
/
gtk
/
colour.cpp
diff --git
a/src/gtk/colour.cpp
b/src/gtk/colour.cpp
index 21d852e55d51f658d7a45ae4d15044008b0384ec..4d3b511afab77065d2b0b0c0df1d7e01c669e3d2 100644
(file)
--- a/
src/gtk/colour.cpp
+++ b/
src/gtk/colour.cpp
@@
-160,7
+160,7
@@
void wxColour::InitFromName( const wxString &colourName )
wxNode *node = (wxNode *) NULL;
if ( (wxTheColourDatabase) && (node = wxTheColourDatabase->Find(colourName)) )
{
wxNode *node = (wxNode *) NULL;
if ( (wxTheColourDatabase) && (node = wxTheColourDatabase->Find(colourName)) )
{
- wxColour *col = (wxColour*)node->Data();
+ wxColour *col = (wxColour*)node->
Get
Data();
UnRef();
if (col) Ref( *col );
}
UnRef();
if (col) Ref( *col );
}