]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/palette.cpp
wxListBox::FindString(): it's not an error if the string is not found, so
[wxWidgets.git] / src / stubs / palette.cpp
index 445b545f0c09bc388a90f28c5b4a1968c22f81dc..f8db96f8d0894b7970275f7565fed661a7516cea 100644 (file)
@@ -47,15 +47,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();