New colour, font, theme and size code..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -180,6 +180,16 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
m_x+10, m_y+10+(i*24), 10, 10 );
|
||||
}
|
||||
|
||||
m_parent->DoAddChild( this );
|
||||
|
||||
PostCreation();
|
||||
|
||||
ApplyWidgetStyle();
|
||||
|
||||
SetLabel( title );
|
||||
|
||||
SetFont( parent->GetFont() );
|
||||
|
||||
wxSize ls = LayoutItems();
|
||||
|
||||
wxSize newSize = size;
|
||||
@@ -187,15 +197,8 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
|
||||
if (newSize.y == -1) newSize.y = ls.y;
|
||||
SetSize( newSize.x, newSize.y );
|
||||
|
||||
m_parent->DoAddChild( this );
|
||||
|
||||
PostCreation();
|
||||
|
||||
SetLabel( title );
|
||||
|
||||
SetBackgroundColour( parent->GetBackgroundColour() );
|
||||
SetForegroundColour( parent->GetForegroundColour() );
|
||||
SetFont( parent->GetFont() );
|
||||
|
||||
Show( TRUE );
|
||||
|
||||
|
Reference in New Issue
Block a user