/////////////////////////////////////////////////////////////////////////////
-// Name: m_list.cpp
+// Name: src/html/m_list.cpp
// Purpose: wxHtml module for lists
// Author: Vaclav Slavik
// RCS-ID: $Id$
// Copyright: (c) 1999 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation
-#endif
#include "wx/wxprec.h"
-
-#include "wx/defs.h"
-#if wxUSE_HTML && wxUSE_STREAMS
-
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
-#ifndef WXPRECOMP
+#if wxUSE_HTML && wxUSE_STREAMS
+
+#ifndef WX_PRECOMP
#include "wx/brush.h"
#include "wx/dc.h"
#endif
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();
{
c->SetAlignHor(wxHTML_ALIGN_RIGHT);
wxString markStr;
- markStr.Printf(wxT("%i."), m_Numbering);
+ markStr.Printf(wxT("%i. "), m_Numbering);
c->InsertCell(new wxHtmlWordCell(markStr, *(m_WParser->GetDC())));
}
m_WParser->CloseContainer();