]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/brush.cpp
introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with...
[wxWidgets.git] / src / os2 / brush.cpp
index 1fcccdab1642da810823ffe05dcedf40f16e2cc7..73ac78a709e78c8f05d1e2a2c5ebd73ef80df974 100644 (file)
@@ -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;