X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/46562151eb21235344768ea4b53c204d0c03fcee..b1859b1a1b35194abb9d55a35d8bad202db39776:/src/palmos/pen.cpp diff --git a/src/palmos/pen.cpp b/src/palmos/pen.cpp index b0d821755a..4ed1a1abd1 100644 --- a/src/palmos/pen.cpp +++ b/src/palmos/pen.cpp @@ -13,16 +13,16 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#ifndef WX_PRECOMP -#include -#include "wx/setup.h" -#include "wx/list.h" -#include "wx/utils.h" -#include "wx/app.h" #include "wx/pen.h" + +#ifndef WX_PRECOMP + #include + #include "wx/list.h" + #include "wx/utils.h" + #include "wx/app.h" #endif static int wx2msPenStyle(int wx_style); @@ -80,15 +80,11 @@ bool wxPen::IsFree() const return false; } -void wxPen::Unshare() -{ -} - void wxPen::SetColour(const wxColour& 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) { } @@ -115,3 +111,14 @@ void wxPen::SetJoin(int Join) void wxPen::SetCap(int Cap) { } + +wxGDIRefData *wxPen::CreateGDIRefData() const +{ + return new wxPenRefData(); +} + +wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const +{ + return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data)); +} +