From eba2f031e796e1f8e6eea647392e436de6bb21cf Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 18 Feb 2005 04:07:11 +0000 Subject: [PATCH] Select an item using the value passed to the ctor/Create git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/combobox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mac/carbon/combobox.cpp b/src/mac/carbon/combobox.cpp index 7e83e671aa..535a468371 100644 --- a/src/mac/carbon/combobox.cpp +++ b/src/mac/carbon/combobox.cpp @@ -359,7 +359,8 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id, } SetBestSize(size); // Needed because it is a wxControlWithItems - + SetStringSelection(value); + return true; } -- 2.50.0