]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/palette.cpp
Fixed filename in wxOSX-Cocoa's file dialog using extension of wrong file type.
[wxWidgets.git] / src / mgl / palette.cpp
index e47260ed1268db9933c01210e2efe6833e3167e2..92536bb350ba7ac7a0e4d6f09bafe8b3da18ee24 100644 (file)
@@ -26,7 +26,7 @@ class wxPaletteRefData: public wxObjectRefData
 {
     public:
         wxPaletteRefData(void);
-        ~wxPaletteRefData(void);
+        virtual ~wxPaletteRefData(void);
 
         int m_count;
         palette_t *m_entries;
@@ -63,21 +63,6 @@ wxPalette::~wxPalette()
 {
 }
 
-bool wxPalette::operator == (const wxPalette& palette) const
-{
-    return m_refData == palette.m_refData;
-}
-
-bool wxPalette::operator != (const wxPalette& palette) const
-{
-    return m_refData != palette.m_refData;
-}
-
-bool wxPalette::Ok(void) const
-{
-    return (m_refData != NULL);
-}
-
 bool wxPalette::Create(int n,
                        const unsigned char *red,
                        const unsigned char *green,