]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/palette.h
adopting correct implementation virtualization for Do/GradientFillConcentric
[wxWidgets.git] / include / wx / os2 / palette.h
index 0ffd177910a3602f3dc4c7000bb7620c85cefcde..a255f50665fca6797f6971c4dbf6b485fbe92217 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
     friend class WXDLLEXPORT wxPalette;
 public:
     wxPaletteRefData();
     friend class WXDLLEXPORT wxPalette;
 public:
     wxPaletteRefData();
-    ~wxPaletteRefData();
+    virtual ~wxPaletteRefData();
 // protected:
     WXHPALETTE                      m_hPalette;
     HPS                             m_hPS;
 // protected:
     WXHPALETTE                      m_hPalette;
     HPS                             m_hPS;
@@ -42,7 +42,7 @@ public:
               ,const unsigned char* pGreen
               ,const unsigned char* pBlue
              );
               ,const unsigned char* pGreen
               ,const unsigned char* pBlue
              );
-    ~wxPalette();
+    virtual ~wxPalette();
 
     bool Create( int                  n
                 ,const unsigned char* pRed
 
     bool Create( int                  n
                 ,const unsigned char* pRed