X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a912c1849decbc306a239ac670b9828044b7fbfe..b77b87881bae2e6306366d79e7fe160334b3d4a2:/src/gtk/choice.cpp 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;