Updates to memcheck
Corrected and beautified memory (output) Fixed a few memory leaks Fixed resizing in in wxRadioBox Added many wxFAIL and wxASSERT Corrected other wxFAIL (removed from ..::Ok()) Added wxBrush::Set..() functions Added CopyOnWrite support in GDI objects (Unshare) Disabled all occurences of WXDEBUG_NEW made clean, recompiled with mem_chcking on git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,6 +158,10 @@ void wxRadioBox::OnSize( wxSizeEvent &event )
|
||||
gtk_myfixed_move( GTK_MYFIXED(m_parent->m_wxwindow), button, x, y );
|
||||
y += 20;
|
||||
|
||||
int w = m_width-10;
|
||||
if (w < 15) w = 15;
|
||||
gtk_widget_set_usize( button, w, 20 );
|
||||
|
||||
node = node->Next();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user