From 7b6986c39214ba04270773fc8f3f6838a7c16f9a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 17 Apr 2005 15:30:05 +0000 Subject: [PATCH] Workaround for wxUSE_STL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/choice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mac/carbon/choice.cpp b/src/mac/carbon/choice.cpp index 309bcf0ded..5ed7a98e2b 100644 --- a/src/mac/carbon/choice.cpp +++ b/src/mac/carbon/choice.cpp @@ -80,10 +80,13 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, m_peer->SetValueAndRange( n > 0 ? 1 : 0 , 0 , 0 ) ; MacPostControlCreate(pos,size) ; + // FIXME: STL version of wxArrayString doesn't have the same args +#if !wxUSE_STL if ( style & wxCB_SORT ) { m_strings = wxArrayString(1) ; // autosort } +#endif for ( int i = 0; i < n; i++ ) { -- 2.47.2