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:
@@ -56,7 +56,13 @@ public:
|
||||
// Implementation part
|
||||
void CalcPixel( GdkColormap *cmap );
|
||||
int GetPixel() const;
|
||||
#ifdef __WXGTK24__
|
||||
const GdkColor *GetColor() const;
|
||||
#else
|
||||
// GDK functions from old gtk2 versions take non-const color parameters,
|
||||
// too many uses to deal with individually
|
||||
GdkColor *GetColor() const;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual bool FromString(const wxChar *str);
|
||||
|
Reference in New Issue
Block a user