X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d72f87f60bd548c9b09d4f15d5ed735d749aaa2b..850df2d78866c3edcf848103b5dbc7e7fa1ee5fa:/src/generic/paletteg.cpp diff --git a/src/generic/paletteg.cpp b/src/generic/paletteg.cpp index 87945ca274..ac8cd8a83b 100644 --- a/src/generic/paletteg.cpp +++ b/src/generic/paletteg.cpp @@ -70,17 +70,7 @@ 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() const +bool wxPalette::IsOk() const { return (m_refData != NULL); }