]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/pen.cpp
64/32 bit fixes
[wxWidgets.git] / src / palmos / pen.cpp
index 6884a69d737e4e1b493bd32c35c20c90af0a2a45..4ed1a1abd1548e2cc0d1022a9f2623832a66e6fb 100644 (file)
@@ -9,24 +9,20 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "pen.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+    #pragma hdrstop
 #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"
+
+#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);
@@ -84,10 +80,6 @@ bool wxPen::IsFree() const
     return false;
 }
 
-void wxPen::Unshare()
-{
-}
-
 void wxPen::SetColour(const wxColour& col)
 {
 }
@@ -120,3 +112,13 @@ 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));
+}
+