Themes again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2022,8 +2022,6 @@ bool wxWindow::Create( wxWindow *parent, wxWindowID id,
|
||||
|
||||
PostCreation();
|
||||
|
||||
ApplyWidgetStyle();
|
||||
|
||||
Show( TRUE );
|
||||
|
||||
return TRUE;
|
||||
@@ -2949,6 +2947,8 @@ GtkStyle *wxWindow::GetWidgetStyle()
|
||||
def = gtk_widget_get_default_style();
|
||||
|
||||
m_widgetStyle = gtk_style_copy( def );
|
||||
m_widgetStyle->engine_data = def->engine_data;
|
||||
m_widgetStyle->klass = def->klass;
|
||||
|
||||
return m_widgetStyle;
|
||||
}
|
||||
|
Reference in New Issue
Block a user