Added space after list item number, otherwise number is hard against following text.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-12-18 12:22:20 +00:00
parent 9cbac6d19d
commit 3d941982de
2 changed files with 2 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ All (GUI):
windows (wxDialog, wxFrame).
- Fixed memory leak of pending events in wxEvtHandler
- Added wxRadioBox::IsItemEnabled/Shown()
- Added space after list item number in wxHTML.
wxMSW:

View File

@@ -254,7 +254,7 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI")
{
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();