]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/pen.cpp
support underlined text in wxCairoContext (Marcin's patch) (closes #9846)
[wxWidgets.git] / src / osx / pen.cpp
index 260f1abc8280e34c462f84aea026b9ee11519f68..55f5f0c4cf219906c8dc9a7578c08bbd2b594ced 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        src/mac/carbon/pen.cpp
+// Name:        src/osx/pen.cpp
 // Purpose:     wxPen
 // Author:      Stefan Csomor
 // Modified by:
@@ -151,7 +151,7 @@ wxGDIRefData *wxPen::CreateGDIRefData() const
 
 wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
 {
-    return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data));
+    return new wxPenRefData(*static_cast<const wxPenRefData *>(data));
 }
 
 bool wxPen::operator==(const wxPen& pen) const