projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
non-PCH build fix
[wxWidgets.git]
/
src
/
html
/
m_list.cpp
diff --git
a/src/html/m_list.cpp
b/src/html/m_list.cpp
index 9dc8f018a94cb11a24034a1a60a312819c969fa8..a008562b9f2e0c998182b2034d9adde8a345f08a 100644
(file)
--- a/
src/html/m_list.cpp
+++ b/
src/html/m_list.cpp
@@
-1,26
+1,21
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// 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
/////////////////////////////////////////////////////////////////////////////
// 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/wxprec.h"
-
-#include "wx/defs.h"
-#if wxUSE_HTML && wxUSE_STREAMS
-
#ifdef __BORLANDC__
#ifdef __BORLANDC__
-#pragma hdrstop
+
#pragma hdrstop
#endif
#endif
-#ifndef WXPRECOMP
+#if wxUSE_HTML && wxUSE_STREAMS
+
+#ifndef WX_PRECOMP
#include "wx/brush.h"
#include "wx/dc.h"
#endif
#include "wx/brush.h"
#include "wx/dc.h"
#endif
@@
-46,10
+41,10
@@
class wxHtmlListmarkCell : public wxHtmlCell
void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
wxHtmlRenderingInfo& info);
void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
wxHtmlRenderingInfo& info);
- DECLARE_NO_COPY_CLASS(wxHtmlListmarkCell)
+ wxDECLARE_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, wx
BRUSHSTYLE_
SOLID)
{
m_Width = dc->GetCharHeight();
m_Height = dc->GetCharHeight();
{
m_Width = dc->GetCharHeight();
m_Height = dc->GetCharHeight();
@@
-98,7
+93,7
@@
class wxHtmlListCell : public wxHtmlContainerCell
void AddRow(wxHtmlContainerCell *mark, wxHtmlContainerCell *cont);
virtual void Layout(int w);
void AddRow(wxHtmlContainerCell *mark, wxHtmlContainerCell *cont);
virtual void Layout(int w);
- DECLARE_NO_COPY_CLASS(wxHtmlListCell)
+ wxDECLARE_NO_COPY_CLASS(wxHtmlListCell);
};
wxHtmlListCell::wxHtmlListCell(wxHtmlContainerCell *parent) : wxHtmlContainerCell(parent)
};
wxHtmlListCell::wxHtmlListCell(wxHtmlContainerCell *parent) : wxHtmlContainerCell(parent)
@@
-257,9
+252,9
@@
TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI")
else
{
c->SetAlignHor(wxHTML_ALIGN_RIGHT);
else
{
c->SetAlignHor(wxHTML_ALIGN_RIGHT);
- wxString mark;
- mark
.Printf(wxT("%i.
"), m_Numbering);
- c->InsertCell(new wxHtmlWordCell(mark, *(m_WParser->GetDC())));
+ wxString mark
Str
;
+ mark
Str.Printf(wxT("%i.
"), m_Numbering);
+ c->InsertCell(new wxHtmlWordCell(mark
Str
, *(m_WParser->GetDC())));
}
m_WParser->CloseContainer();
}
m_WParser->CloseContainer();