X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76690d5e7dbb702cb431f18f35a6a1d97ce7a6ae..e9863f4ea1ab957e59b421d36e6199c7b472476d:/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); }