]> git.saurik.com Git - wxWidgets.git/commitdiff
provide stubs for Get/SetStippled() to fix the build
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Mar 2008 13:27:10 +0000 (13:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 18 Mar 2008 13:27:10 +0000 (13:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/pen.cpp

index 5674ffd9ecfbc7fcd29a67b9e772a4f44554061f..f7412d49b44b80a1ec11c85c6f22c586f3b749ff 100644 (file)
@@ -230,3 +230,15 @@ wxColour &wxPen::GetColour() const
 
     return M_PENDATA->m_colour;
 }
+
+// stippled pens are not supported by wxGTK
+void wxPen::SetStipple(const wxBitmap& WXUNUSED(stipple))
+{
+    wxFAIL_MSG( "stippled pens not supported" );
+}
+
+wxBitmap *wxPen::GetStipple() const
+{
+    return NULL;
+}
+