From 335c3c4a3b8423c0d90ac6c44e956e2d479ebcf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 30 Sep 2006 14:35:12 +0000 Subject: [PATCH] fixed typos in pen/brush style validation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/dfb/brush.cpp | 2 +- src/dfb/pen.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dfb/brush.cpp b/src/dfb/brush.cpp index da4a6935d9..1302755133 100644 --- a/src/dfb/brush.cpp +++ b/src/dfb/brush.cpp @@ -43,7 +43,7 @@ public: void SetStyle(int style) { - if ( m_style != wxSOLID && m_style == wxTRANSPARENT ) + if ( style != wxSOLID && style == wxTRANSPARENT ) { wxFAIL_MSG( _T("only wxSOLID and wxTRANSPARENT styles are supported") ); style = wxSOLID; diff --git a/src/dfb/pen.cpp b/src/dfb/pen.cpp index 58da1f8e6b..f61ff930a5 100644 --- a/src/dfb/pen.cpp +++ b/src/dfb/pen.cpp @@ -40,7 +40,7 @@ public: void SetStyle(int style) { - if ( m_style != wxSOLID && m_style == wxTRANSPARENT ) + if ( style != wxSOLID && style == wxTRANSPARENT ) { wxFAIL_MSG( _T("only wxSOLID and wxTRANSPARENT styles are supported") ); style = wxSOLID; -- 2.45.2