X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a912c1849decbc306a239ac670b9828044b7fbfe..51d78461fa34267925e31291e2371390611d0d0e:/src/gtk1/choice.cpp diff --git a/src/gtk1/choice.cpp b/src/gtk1/choice.cpp index d4bcff0b9e..f437527d6c 100644 --- a/src/gtk1/choice.cpp +++ b/src/gtk1/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;