X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..d3f81b85331b14943862a0c0df5ef8adb4426ad4:/src/os2/palette.cpp?ds=sidebyside diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index 76e68ed2f0..55f41907bc 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -13,12 +13,11 @@ #include "wx/wxprec.h" #ifndef WX_PRECOMP -#include -#include "wx/defs.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 @@ -105,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