X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..1718ef3b370df5c7fc6ff6a6ff6bb011e39b604f:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index a579c53803..42454c09e2 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -104,6 +104,16 @@ bool wxPalette::Create( int n, return true; } // end of wxPalette::Create +wxGDIRefData *wxPalette::CreateGDIRefData() const +{ + return new wxPaletteRefData; +} + +wxGDIRefData *wxPalette::CloneGDIRefData(const wxGDIRefData *data) const +{ + return new wxPaletteRefData(*wx_static_cast(const wxPaletteRefData *, data)); +} + int wxPalette::GetPixel( unsigned char cRed, unsigned char cGreen, unsigned char cBlue) const