X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a912c1849decbc306a239ac670b9828044b7fbfe..3af5821cf964398265547e23341e50cb6f55c081:/src/gtk/choice.cpp?ds=sidebyside diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index d4bcff0b9e..f437527d6c 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -111,14 +111,10 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id, m_parent->DoAddChild( this ); PostCreation(); - - SetFont( parent->GetFont() ); + InheritAttributes(); SetBestSize(size); - SetBackgroundColour( parent->GetBackgroundColour() ); - SetForegroundColour( parent->GetForegroundColour() ); - Show( TRUE ); return TRUE;