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
This commit is contained in:
Václav Slavík
2008-04-13 12:06:17 +00:00
parent 3fb26cf229
commit 4439f88a1e
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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 )
{