X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdf1e7142564c55f5299f1f2d0909090534eb97c..1a787c5dc89b1cb6a9ddb4ebef3ad2fb24b49c8c:/src/os2/palette.cpp 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