From e37d2ae4381330334827bb3738e7a762248b79ec Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:42:44 +0000 Subject: [PATCH] completely disable the style in wxChoice constructor in wxUniv is wrong git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/choice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/univ/choice.cpp b/src/univ/choice.cpp index 1147aa4900..8dcb99b748 100644 --- a/src/univ/choice.cpp +++ b/src/univ/choice.cpp @@ -63,7 +63,7 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, int n, const wxString choices[], - long WXUNUSED(style), + long style, const wxValidator& validator, const wxString& name) { @@ -72,7 +72,7 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, value = choices[0]; return wxComboBox::Create(parent, id, value, pos, size, n, choices, - wxCB_READONLY, validator, name); + wxCB_READONLY | style, validator, name); }