]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/brush.cpp
use wxGetDisplayPPI() instead of redoing it
[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;