projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More build system polishing.. mostly. Some stuff ported over from
[wxWidgets.git]
/
src
/
mac
/
pen.cpp
diff --git
a/src/mac/pen.cpp
b/src/mac/pen.cpp
index 2502b392fb674055cd560cb4061ea3757a91bb11..356fedcd6caab03dfac8da41a6201bd68b84f1e3 100644
(file)
--- a/
src/mac/pen.cpp
+++ b/
src/mac/pen.cpp
@@
-17,7
+17,9
@@
#include "wx/utils.h"
#include "wx/pen.h"
#include "wx/utils.h"
#include "wx/pen.h"
+#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
IMPLEMENT_DYNAMIC_CLASS(wxPen, wxGDIObject)
+#endif
wxPenRefData::wxPenRefData()
{
wxPenRefData::wxPenRefData()
{
@@
-27,9
+29,6
@@
wxPenRefData::wxPenRefData()
m_cap = wxCAP_ROUND ;
m_nbDash = 0 ;
m_dash = 0 ;
m_cap = wxCAP_ROUND ;
m_nbDash = 0 ;
m_dash = 0 ;
-/* TODO: null data
- m_hPen = 0;
-*/
}
wxPenRefData::wxPenRefData(const wxPenRefData& data)
}
wxPenRefData::wxPenRefData(const wxPenRefData& data)
@@
-41,14
+40,10
@@
wxPenRefData::wxPenRefData(const wxPenRefData& data)
m_nbDash = data.m_nbDash;
m_dash = data.m_dash;
m_colour = data.m_colour;
m_nbDash = data.m_nbDash;
m_dash = data.m_dash;
m_colour = data.m_colour;
-/* TODO: null data
- m_hPen = 0;
-*/
}
wxPenRefData::~wxPenRefData()
{
}
wxPenRefData::~wxPenRefData()
{
- // TODO: delete data
}
// Pens
}
// Pens
@@
-193,8
+188,8
@@
void wxPen::SetCap(int Cap)
bool wxPen::RealizeResource()
{
bool wxPen::RealizeResource()
{
- // TODO: create actual pen
- return
FALS
E;
+ // nothing to do here for mac
+ return
TRU
E;
}
}