]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/brush.cpp
fixed appending of '/' to empty string
[wxWidgets.git] / src / gtk1 / brush.cpp
index e8bfb069689e26d9c1a3c18ba54fce8c44b6ee3f..155b0c400bae3538bad7d77a8d452acffd0483f3 100644 (file)
@@ -45,7 +45,7 @@ wxBrush::wxBrush(void)
   if (wxTheBrushList) wxTheBrushList->AddBrush( this );
 };
 
-wxBrush::wxBrush( const wxColour &colour, const int style )
+wxBrush::wxBrush( const wxColour &colour, int style )
 {
   m_refData = new wxBrushRefData();
   M_BRUSHDATA->m_style = style;
@@ -54,7 +54,7 @@ wxBrush::wxBrush( const wxColour &colour, const int style )
   if (wxTheBrushList) wxTheBrushList->AddBrush( this );
 };
 
-wxBrush::wxBrush( const wxString &colourName, const int style )
+wxBrush::wxBrush( const wxString &colourName, int style )
 {
   m_refData = new wxBrushRefData();
   M_BRUSHDATA->m_style = style;