]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/choice.cpp
mac encodings support
[wxWidgets.git] / src / gtk / choice.cpp
index d4bcff0b9eba22a439664a0738803ce19791ade4..f437527d6c265f1480b603c59861114d2679a0b4 100644 (file)
@@ -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;