compilation fix: wxColour::GetColor() returns const object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e0743e63ea
commit
1cd5e95c1c
@ -1656,7 +1656,7 @@ static void wxGtkTreeCellDataFunc( GtkTreeViewColumn *column,
|
||||
if (attr.HasBackgroundColour())
|
||||
{
|
||||
wxColour colour = attr.GetBackgroundColour();
|
||||
GdkColor *gcol = colour.GetColor();
|
||||
const GdkColor * const gcol = colour.GetColor();
|
||||
|
||||
GValue gvalue = { 0, };
|
||||
g_value_init( &gvalue, GDK_TYPE_COLOR );
|
||||
|
Loading…
Reference in New Issue
Block a user