summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8e3ca43)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29507
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
h += d + 2 * HEADER_OFFSET_Y + EXTRA_HEIGHT;
// only update if changed
h += d + 2 * HEADER_OFFSET_Y + EXTRA_HEIGHT;
// only update if changed
- if ( h != m_headerHeight )
+ if ( h != (int)m_headerHeight )
- m_headerHeight = h;
- //m_header_win->SetSize(m_header_win->GetSize().x, m_headerHeight);
+ m_headerHeight = (size_t)h;
+ m_header_win->SetSize(m_header_win->GetSize().x, m_headerHeight);
{
int w, h;
GetClientSize(&w, &h);
{
int w, h;
GetClientSize(&w, &h);
- printf("%d (%d, %d)\n", m_headerHeight, w, h);
if (m_header_win)
m_header_win->SetSize(0, 0, w, m_headerHeight);
if (m_main_win)
if (m_header_win)
m_header_win->SetSize(0, 0, w, m_headerHeight);
if (m_main_win)