attributes inheritance fix; apply style to both m_wxwindow and m_widget (patch 984858)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-08-14 22:42:23 +00:00
parent 97357eecf1
commit 40bab631d2
4 changed files with 50 additions and 8 deletions

View File

@@ -103,7 +103,6 @@ void wxControl::PostCreation(const wxSize& size)
// GetBestSize is called.
gtk_widget_ensure_style(m_widget);
InheritAttributes();
ApplyWidgetStyle();
SetInitialBestSize(size);
}