introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,7 +60,7 @@ wxBrush::~wxBrush()
|
||||
|
||||
wxBrush::wxBrush(
|
||||
const wxColour& rColour
|
||||
, int nStyle
|
||||
, wxBrushStyle nStyle
|
||||
)
|
||||
{
|
||||
m_refData = new wxBrushRefData;
|
||||
@@ -248,7 +248,7 @@ void wxBrush::SetColour(unsigned char cRed, unsigned char cGreen, unsigned char
|
||||
RealizeResource();
|
||||
} // end of wxBrush::SetColour
|
||||
|
||||
void wxBrush::SetStyle(int nStyle)
|
||||
void wxBrush::SetStyle(wxBrushStyle nStyle)
|
||||
{
|
||||
AllocExclusive();
|
||||
M_BRUSHDATA->m_nStyle = nStyle;
|
||||
|
Reference in New Issue
Block a user