X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cbff1201aa47e2b73ec90a97886f18e88270ea6..72594e90b2da8c167ba63b89b2c168c57a19cab4:/include/wx/msw/dc.h?ds=inline diff --git a/include/wx/msw/dc.h b/include/wx/msw/dc.h index 50e310c902..30f79932f5 100644 --- a/include/wx/msw/dc.h +++ b/include/wx/msw/dc.h @@ -115,7 +115,9 @@ public: virtual void SetBrush(const wxBrush& brush); virtual void SetBackground(const wxBrush& brush); virtual void SetBackgroundMode(int mode); +#if wxUSE_PALETTE virtual void SetPalette(const wxPalette& palette); +#endif // wxUSE_PALETTE virtual void DestroyClippingRegion(); @@ -255,7 +257,10 @@ protected: WXHPEN m_oldPen; WXHBRUSH m_oldBrush; WXHFONT m_oldFont; + +#if wxUSE_PALETTE WXHPALETTE m_oldPalette; +#endif // wxUSE_PALETTE #if wxUSE_DC_CACHEING static wxList sm_bitmapCache;