projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
supporting rawctrl strings, fixes #13496, rawctrl is correctly interpreted for all...
[wxWidgets.git]
/
src
/
palmos
/
pen.cpp
diff --git
a/src/palmos/pen.cpp
b/src/palmos/pen.cpp
index 7d63a301d5989d0aba4256dd98acbdb342f9e978..c9db991ae5beb1feae52ea2a6fc2bdfae9eecc81 100644
(file)
--- a/
src/palmos/pen.cpp
+++ b/
src/palmos/pen.cpp
@@
-13,16
+13,16
@@
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+
#pragma hdrstop
#endif
#endif
-#ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/setup.h"
-#include "wx/list.h"
-#include "wx/utils.h"
-#include "wx/app.h"
#include "wx/pen.h"
#include "wx/pen.h"
+
+#ifndef WX_PRECOMP
+ #include <stdio.h>
+ #include "wx/list.h"
+ #include "wx/utils.h"
+ #include "wx/app.h"
#endif
static int wx2msPenStyle(int wx_style);
#endif
static int wx2msPenStyle(int wx_style);
@@
-52,7
+52,7
@@
wxPen::~wxPen()
}
// Should implement Create
}
// Should implement Create
-wxPen::wxPen(const wxColour& col, int Width,
int
Style)
+wxPen::wxPen(const wxColour& col, int Width,
wxPenStyle
Style)
{
}
{
}
@@
-80,10
+80,6
@@
bool wxPen::IsFree() const
return false;
}
return false;
}
-void wxPen::Unshare()
-{
-}
-
void wxPen::SetColour(const wxColour& col)
{
}
void wxPen::SetColour(const wxColour& col)
{
}
@@
-96,7
+92,7
@@
void wxPen::SetWidth(int Width)
{
}
{
}
-void wxPen::SetStyle(
int
Style)
+void wxPen::SetStyle(
wxPenStyle
Style)
{
}
{
}
@@
-108,10
+104,21
@@
void wxPen::SetDashes(int nb_dashes, const wxDash *Dash)
{
}
{
}
-void wxPen::SetJoin(
int
Join)
+void wxPen::SetJoin(
wxPenJoin
Join)
{
}
{
}
-void wxPen::SetCap(
int
Cap)
+void wxPen::SetCap(
wxPenCap
Cap)
{
}
{
}
+
+wxGDIRefData *wxPen::CreateGDIRefData() const
+{
+ return new wxPenRefData();
+}
+
+wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
+{
+ return new wxPenRefData(*static_cast<const wxPenRefData *>(data));
+}
+