From: Václav Slavík Date: Sun, 13 Apr 2008 12:06:17 +0000 (+0000) Subject: wxDFB compilation fixes after recent brushes/pens changes (patch #1939986) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4439f88a1e62d887cf1aeb7855a2e72fb49d7e01 wxDFB compilation fixes after recent brushes/pens changes (patch #1939986) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/dfb/brush.cpp b/src/dfb/brush.cpp index b4e4d058c0..e636ecc33e 100644 --- a/src/dfb/brush.cpp +++ b/src/dfb/brush.cpp @@ -48,7 +48,7 @@ public: if ( style != wxSOLID && style != wxTRANSPARENT ) { wxFAIL_MSG( wxT("only wxSOLID and wxTRANSPARENT styles are supported") ); - style = wxSOLID; + style = wxBRUSHSTYLE_SOLID; } m_style = style; diff --git a/src/dfb/pen.cpp b/src/dfb/pen.cpp index 4db8f6df55..5b70c698bf 100644 --- a/src/dfb/pen.cpp +++ b/src/dfb/pen.cpp @@ -40,7 +40,7 @@ public: virtual bool IsOk() const { return m_colour.IsOk(); } - void SetStyle(int style) + void SetStyle(wxPenStyle style) { if ( style != wxPENSTYLE_SOLID && style != wxPENSTYLE_TRANSPARENT ) {