X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..6dfbea27b9d581dbb6c033e2b336d6035f5e4fc8:/include/wx/msw/brush.h diff --git a/include/wx/msw/brush.h b/include/wx/msw/brush.h index 6e21585ad1..5cac035628 100644 --- a/include/wx/msw/brush.h +++ b/include/wx/msw/brush.h @@ -42,19 +42,15 @@ public: virtual int GetStyle() const; wxBitmap *GetStipple() const; - bool Ok() const { return IsOk(); } - bool IsOk() const { return m_refData != NULL; } - // return the HBRUSH for this brush virtual WXHANDLE GetResourceHandle() const; protected: - virtual wxObjectRefData *CreateRefData() const; - virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; + virtual wxGDIRefData *CreateGDIRefData() const; + virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; private: DECLARE_DYNAMIC_CLASS(wxBrush) }; -#endif - // _WX_BRUSH_H_ +#endif // _WX_BRUSH_H_