]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/brush.cpp
check for wxInputStream::Read errors
[wxWidgets.git] / src / dfb / brush.cpp
index b4e4d058c08a7739dd4b341d9d9abc0111370d50..e636ecc33eaef44ea0c3e37668ea3bb04444652b 100644 (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;