X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..2e14066008229145e2da7b9f05a478ce38631f83:/src/os2/palette.cpp?ds=inline diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index b28c4307d2..55f41907bc 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -13,13 +13,11 @@ #include "wx/wxprec.h" #ifndef WX_PRECOMP -#include -#include "wx/defs.h" -#include "wx/setup.h" -#include "wx/string.h" -#include "wx/os2/private.h" -#include "wx/palette.h" -#include "wx/app.h" + #include + #include "wx/string.h" + #include "wx/os2/private.h" + #include "wx/palette.h" + #include "wx/app.h" #endif #define INCL_PM @@ -106,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(*static_cast(data)); +} + int wxPalette::GetPixel( unsigned char cRed, unsigned char cGreen, unsigned char cBlue) const