]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_list.cpp
assigning line marker to itself shouldn't invalidate it, add self-assignment check
[wxWidgets.git] / src / html / m_list.cpp
index 2328b748b874e65ff267236cab42f57e6d7ba032..98f1d2b9b10214bc2bf83a52f16505eae15e26d8 100644 (file)
@@ -15,7 +15,7 @@
 
 #if wxUSE_HTML && wxUSE_STREAMS
 
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
     #include "wx/brush.h"
     #include "wx/dc.h"
 #endif
@@ -44,7 +44,7 @@ class wxHtmlListmarkCell : public wxHtmlCell
     DECLARE_NO_COPY_CLASS(wxHtmlListmarkCell)
 };
 
-wxHtmlListmarkCell::wxHtmlListmarkCell(wxDC* dc, const wxColour& clr) : wxHtmlCell(), m_Brush(clr, wxSOLID)
+wxHtmlListmarkCell::wxHtmlListmarkCell(wxDC* dc, const wxColour& clr) : wxHtmlCell(), m_Brush(clr, wxBRUSHSTYLE_SOLID)
 {
     m_Width =  dc->GetCharHeight();
     m_Height = dc->GetCharHeight();