X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a237d7ed48c2cfbf2b82e197990cad16edd8f0ed..773cca488793b26140468085d701ef2b702484a0:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 58384fb599..1bea340201 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -15,7 +15,7 @@ #if wxUSE_HTML && wxUSE_STREAMS -#ifndef WXPRECOMP +#ifndef WX_PRECOMP #include "wx/image.h" #endif @@ -100,7 +100,7 @@ bool wxHtmlPageBreakCell::AdjustPagebreak(int* pagebreak, wxArrayInt& known_page // vertical position. Otherwise we'd be setting a pagebreak above // the current cell, which is incorrect, or duplicating a // pagebreak that has already been set. - if( known_pagebreaks.Count() == 0 || *pagebreak <= m_PosY) + if( known_pagebreaks.GetCount() == 0 || *pagebreak <= m_PosY) { return false; }