]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/palette.cpp
Use t_str() instead of c_str()
[wxWidgets.git] / src / os2 / palette.cpp
index a579c53803122338fef80136aee09b46b0b5000f..42454c09e23b907dd44be00c3466560739a98b28 100644 (file)
@@ -104,6 +104,16 @@ bool wxPalette::Create( int n,
     return true;
 } // end of wxPalette::Create
 
+wxGDIRefData *wxPalette::CreateGDIRefData() const
+{
+    return new wxPaletteRefData;
+}
+
+wxGDIRefData *wxPalette::CloneGDIRefData(const wxGDIRefData *data) const
+{
+    return new wxPaletteRefData(*wx_static_cast(const wxPaletteRefData *, data));
+}
+
 int wxPalette::GetPixel( unsigned char cRed,
                          unsigned char cGreen,
                          unsigned char cBlue) const