]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/palette.cpp
Improved selection mode handling in wxGrid::SelectBlock
[wxWidgets.git] / src / stubs / palette.cpp
index 445b545f0c09bc388a90f28c5b4a1968c22f81dc..44ae8cc9e30db53219d9338297d0400c24b0d5b2 100644 (file)
@@ -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();