X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..0f05afccede840e04872bfc82103b689b8edc447:/src/stubs/palette.cpp?ds=sidebyside

diff --git a/src/stubs/palette.cpp b/src/stubs/palette.cpp
index 445b545f0c..44ae8cc9e3 100644
--- a/src/stubs/palette.cpp
+++ b/src/stubs/palette.cpp
@@ -15,9 +15,7 @@
 
 #include "wx/palette.h"
 
-#if !USE_SHARED_LIBRARIES
 IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
-#endif
 
 /*
  * Palette
@@ -47,15 +45,6 @@ wxPalette::~wxPalette()
 {
 }
 
-bool wxPalette::FreeResource(bool force)
-{
-	if ( M_PALETTEDATA && M_PALETTEDATA->m_hPalette)
-	{
-      DeleteObject((HPALETTE)M_PALETTEDATA->m_hPalette);
-	}
-	return TRUE;
-}
-
 bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
 {
   UnRef();