build fix for older gtk2, second attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,7 +154,11 @@ int wxColour::GetPixel() const
|
||||
return M_COLDATA->m_color.pixel;
|
||||
}
|
||||
|
||||
#ifdef __WXGTK24__
|
||||
const GdkColor *wxColour::GetColor() const
|
||||
#else
|
||||
GdkColor *wxColour::GetColor() const
|
||||
#endif
|
||||
{
|
||||
wxCHECK_MSG( Ok(), NULL, wxT("invalid colour") );
|
||||
|
||||
|
Reference in New Issue
Block a user