X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..613de0e89efab1cbf8463ea06e0cf0b2914fbce9:/include/wx/palmos/palette.h?ds=sidebyside diff --git a/include/wx/palmos/palette.h b/include/wx/palmos/palette.h index 668e05116f..f4c1ad4229 100644 --- a/include/wx/palmos/palette.h +++ b/include/wx/palmos/palette.h @@ -16,7 +16,7 @@ class WXDLLIMPEXP_FWD_CORE wxPalette; -class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData +class WXDLLIMPEXP_CORE wxPaletteRefData: public wxGDIRefData { friend class WXDLLIMPEXP_FWD_CORE wxPalette; public: @@ -28,7 +28,7 @@ protected: #define M_PALETTEDATA ((wxPaletteRefData *)m_refData) -class WXDLLEXPORT wxPalette: public wxPaletteBase +class WXDLLIMPEXP_CORE wxPalette: public wxPaletteBase { DECLARE_DYNAMIC_CLASS(wxPalette) @@ -41,9 +41,6 @@ public: int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const; bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const; - virtual bool Ok() const { return IsOk(); } - virtual bool IsOk(void) const { return (m_refData != NULL) ; } - virtual bool FreeResource(bool force = false); inline WXHPALETTE GetHPALETTE(void) const { return (M_PALETTEDATA ? M_PALETTEDATA->m_hPalette : 0); }