X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdf1e7142564c55f5299f1f2d0909090534eb97c..3ad1cd4a67d26b431d163d798f980dfb3628681e:/src/os2/palette.cpp?ds=sidebyside diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index 889d289d4b..e0461db8af 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -24,6 +24,7 @@ #include "assert.h" +IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject) /* * Palette @@ -91,6 +92,7 @@ bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *gre M_PALETTEDATA->m_hPalette = (WXHPALETTE) CreatePalette((LPLOGPALETTE)npPal); LocalFree((HANDLE)npPal); */ + return FALSE; } int wxPalette::GetPixel(const unsigned char red, const unsigned char green, const unsigned char blue) const