]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_hline.cpp
added a preImage of the selection in order to avoid unnecessary events being triggered
[wxWidgets.git] / src / html / m_hline.cpp
index ca4cdd48a3a658a8ddeee04e7482ea5afcb96938..fa2dba264ced5b02a0571169eae019b391b960ea 100644 (file)
@@ -50,8 +50,8 @@ class wxHtmlLineCell : public wxHtmlCell
 
 void wxHtmlLineCell::Draw(wxDC& dc, int x, int y, int WXUNUSED(view_y1), int WXUNUSED(view_y2))
 {
-    wxBrush mybrush("BLACK", wxSOLID);
-    wxPen mypen("BLACK", 1, wxSOLID);
+    wxBrush mybrush(wxT("BLACK"), wxSOLID);
+    wxPen mypen(wxT("BLACK"), 1, wxSOLID);
     dc.SetBrush(mybrush);
     dc.SetPen(mypen);
     dc.DrawRectangle(x + m_PosX, y + m_PosY, m_Width, m_Height);