]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/pen.mm
[ 1508778 ] Fix for wxOwnerDrawnComboBox list selection rendering.
[wxWidgets.git] / src / cocoa / pen.mm
index b82e879cad28019684cfebc352d857b8ce593bf3..d133d90fcb1a219376afcc8f5093fbaf5ba9bbba 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
 #ifndef WX_PRECOMP
     #include "wx/pen.h"
+    #include "wx/bitmap.h"
+    #include "wx/colour.h"
 #endif //WX_PRECOMP
-#include "wx/bitmap.h"
-#include "wx/colour.h"
 
 #import <AppKit/NSColor.h>
 
@@ -303,7 +304,7 @@ void wxPen::SetColour(const wxColour& col)
     M_PENDATA->SetColour(col);
 }
 
-void wxPen::SetColour(const unsigned char r, const unsigned char g, const unsigned char b)
+void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b)
 {
     AllocExclusive();
     M_PENDATA->SetColour(wxColour(r, g, b));