X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3ab1c18017bb08329e73918f9f502ea00cdb447..d968078adbfb147e913b9a33fc54242a36f117ce:/src/x11/brush.cpp diff --git a/src/x11/brush.cpp b/src/x11/brush.cpp index d74f745827..7ac5842b35 100644 --- a/src/x11/brush.cpp +++ b/src/x11/brush.cpp @@ -24,7 +24,7 @@ // wxBrush //----------------------------------------------------------------------------- -class wxBrushRefData: public wxObjectRefData +class wxBrushRefData : public wxGDIRefData { public: wxBrushRefData() @@ -42,7 +42,7 @@ public: bool operator == (const wxBrushRefData& data) const { return (m_style == data.m_style && - m_stipple.IsSameAs(&data.m_stipple) && + m_stipple.IsSameAs(data.m_stipple) && m_colour == data.m_colour); } @@ -82,12 +82,12 @@ wxBrush::~wxBrush() // m_refData unrefed in ~wxObject } -wxObjectRefData *wxBrush::CreateRefData() const +wxGDIRefData *wxBrush::CreateGDIRefData() const { return new wxBrushRefData; } -wxObjectRefData *wxBrush::CloneRefData(const wxObjectRefData *data) const +wxGDIRefData *wxBrush::CloneGDIRefData(const wxGDIRefData *data) const { return new wxBrushRefData(*(wxBrushRefData *)data); }