Fix uses of wxPalette without check for wxUSE_PALETTE

This commit is contained in:
Jeff Bland
2018-05-18 06:52:52 -06:00
parent 26715a1fe0
commit 8b18bbb9c7
4 changed files with 10 additions and 0 deletions

View File

@@ -83,7 +83,10 @@ public:
virtual void SetBrush(const wxBrush& brush) wxOVERRIDE;
virtual void SetBackground(const wxBrush& brush) wxOVERRIDE;
virtual void SetBackgroundMode(int mode) wxOVERRIDE;
#if wxUSE_PALETTE
virtual void SetPalette(const wxPalette& palette) wxOVERRIDE;
#endif
virtual void DestroyClippingRegion() wxOVERRIDE;