for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3908
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int ysizeup = 0, ysizedown = 0;
/*
int ysizeup = 0, ysizedown = 0;
/*
*/
if (m_WidthFloatUnits == HTML_UNITS_PERCENT) {
*/
if (m_WidthFloatUnits == HTML_UNITS_PERCENT) {
*/
// adjust indentation:
*/
// adjust indentation:
s_width = m_Width - s_indent - ((m_IndentRight < 0) ? (-m_IndentRight * m_Width / 100) : m_IndentRight);
m_MaxLineWidth = 0;
s_width = m_Width - s_indent - ((m_IndentRight < 0) ? (-m_IndentRight * m_Width / 100) : m_IndentRight);
m_MaxLineWidth = 0;
// my own layouting:
while (cell != NULL) {
switch (m_AlignVer) {
// my own layouting:
while (cell != NULL) {
switch (m_AlignVer) {
const wxHtmlCell* wxHtmlContainerCell::Find(int condition, const void* param) const
{
const wxHtmlCell *r = NULL;
const wxHtmlCell* wxHtmlContainerCell::Find(int condition, const void* param) const
{
const wxHtmlCell *r = NULL;
if (m_Cells) {
r = m_Cells -> Find(condition, param);
if (r) return r;
if (m_Cells) {
r = m_Cells -> Find(condition, param);
if (r) return r;
((wxScrolledWindow*)(m_Wnd -> GetParent())) -> ViewStart(&stx, &sty);
m_Wnd -> SetSize(absx - HTML_SCROLL_STEP * stx, absy - HTML_SCROLL_STEP * sty, m_Width, m_Height);
((wxScrolledWindow*)(m_Wnd -> GetParent())) -> ViewStart(&stx, &sty);
m_Wnd -> SetSize(absx - HTML_SCROLL_STEP * stx, absy - HTML_SCROLL_STEP * sty, m_Width, m_Height);
m_Wnd -> SetSize(absx, absy, m_Width, m_Height);
m_Wnd -> SetSize(absx, absy, m_Width, m_Height);
wxHtmlCell::Draw(dc, x, y, view_y1, view_y2);
}
wxHtmlCell::Draw(dc, x, y, view_y1, view_y2);
}
absy += c -> GetPosY();
c = c -> GetParent();
}
absy += c -> GetPosY();
c = c -> GetParent();
}
((wxScrolledWindow*)(m_Wnd -> GetParent())) -> ViewStart(&stx, &sty);
m_Wnd -> SetSize(absx - HTML_SCROLL_STEP * stx, absy - HTML_SCROLL_STEP * sty, m_Width, m_Height);
((wxScrolledWindow*)(m_Wnd -> GetParent())) -> ViewStart(&stx, &sty);
m_Wnd -> SetSize(absx - HTML_SCROLL_STEP * stx, absy - HTML_SCROLL_STEP * sty, m_Width, m_Height);
m_Wnd -> SetSize(absx, absy, m_Width, m_Height);
m_Wnd -> SetSize(absx, absy, m_Width, m_Height);
wxHtmlCell::DrawInvisible(dc, x, y);
}
wxHtmlCell::DrawInvisible(dc, x, y);
}