X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76690d5e7dbb702cb431f18f35a6a1d97ce7a6ae..8dba4c72300eafb6b35eaf754c379a72416bfbdd:/src/cocoa/brush.mm?ds=sidebyside diff --git a/src/cocoa/brush.mm b/src/cocoa/brush.mm index eef0553a90..6a1bce5e7f 100644 --- a/src/cocoa/brush.mm +++ b/src/cocoa/brush.mm @@ -159,12 +159,12 @@ wxBrush::wxBrush(const wxBitmap& stipple) m_refData = new wxBrushRefData(stipple); } -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); }