X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..fd323a5e230f2b08227b307ff900698fb85d5519:/include/wx/stubs/palette.h?ds=sidebyside diff --git a/include/wx/stubs/palette.h b/include/wx/stubs/palette.h index a5c85bb1d0..3482b33934 100644 --- a/include/wx/stubs/palette.h +++ b/include/wx/stubs/palette.h @@ -41,7 +41,6 @@ class WXDLLEXPORT wxPalette: public wxGDIObject public: wxPalette(); inline wxPalette(const wxPalette& palette) { Ref(palette); } - inline wxPalette(const wxPalette* palette) { UnRef(); if (palette) Ref(*palette); } wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); ~wxPalette(); @@ -55,7 +54,6 @@ public: inline bool operator == (const wxPalette& palette) { return m_refData == palette.m_refData; } inline bool operator != (const wxPalette& palette) { return m_refData != palette.m_refData; } - virtual bool FreeResource(bool force = FALSE); /* TODO: implementation inline WXHPALETTE GetHPALETTE() const { return (M_PALETTEDATA ? M_PALETTEDATA->m_hPalette : 0); } void SetHPALETTE(WXHPALETTE pal);