Added speed-up for font-loading (a bit simplistic),
Moving between items in a radiobox works again, Tried to remove remaining gap in a wxStaticBox that has no text-label. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,7 +50,10 @@ bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label
|
||||
|
||||
m_isStaticBox = TRUE;
|
||||
|
||||
m_widget = gtk_frame_new(m_label.mbc_str());
|
||||
if (label.IsEmpty())
|
||||
m_widget = gtk_frame_new( (char*) NULL );
|
||||
else
|
||||
m_widget = gtk_frame_new( m_label.mbc_str() );
|
||||
|
||||
m_parent->DoAddChild( this );
|
||||
|
||||
|
Reference in New Issue
Block a user