fix wxBrush for the mac build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,6 +24,9 @@ class WXDLLEXPORT wxBrush: public wxBrushBase
|
|||||||
public:
|
public:
|
||||||
wxBrush();
|
wxBrush();
|
||||||
wxBrush(const wxColour& col, wxBrushStyle style = wxBRUSHSTYLE_SOLID);
|
wxBrush(const wxColour& col, wxBrushStyle style = wxBRUSHSTYLE_SOLID);
|
||||||
|
#if FUTURE_WXWIN_COMPATIBILITY_3_0
|
||||||
|
wxDEPRECATED_FUTURE( wxBrush(const wxColour& col, int style) );
|
||||||
|
#endif
|
||||||
wxBrush(const wxBitmap& stipple);
|
wxBrush(const wxBitmap& stipple);
|
||||||
virtual ~wxBrush();
|
virtual ~wxBrush();
|
||||||
|
|
||||||
|
@@ -81,7 +81,7 @@ bool wxBrushRefData::operator==(const wxBrushRefData& data) const
|
|||||||
void wxBrushRefData::DoSetStipple(const wxBitmap& stipple)
|
void wxBrushRefData::DoSetStipple(const wxBitmap& stipple)
|
||||||
{
|
{
|
||||||
m_stipple = stipple;
|
m_stipple = stipple;
|
||||||
m_style = stipple.GetMask() ? wxSTIPPLE_MASK_OPAQUE : wxSTIPPLE;
|
m_style = stipple.GetMask() ? wxBRUSHSTYLE_STIPPLE_MASK_OPAQUE : wxBRUSHSTYLE_STIPPLE;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user