X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..dc874fb4cebf75d39cc97210e0f4b6a35403e4a6:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index b28c4307d2..42454c09e2 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(*wx_static_cast(const wxPaletteRefData *, data)); +} + int wxPalette::GetPixel( unsigned char cRed, unsigned char cGreen, unsigned char cBlue) const