]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected m_strings array creation broken by last changes
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2007 22:30:00 +0000 (22:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 15 Sep 2007 22:30:00 +0000 (22:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/listbox.cpp

index c26aafb29eed8022f3d019b43c76ec13cb7db036..0255489bceac84129857d69ca260f7667ff96b59 100644 (file)
@@ -192,7 +192,7 @@ bool wxListBox::Create(wxWindow *parent,
                             validator, name) )
         return false;
 
-    m_strings = IsSorted() ? new wxArrayString : new wxSortedArrayString;
+    m_strings = IsSorted() ? new wxSortedArrayString : new wxArrayString;
 
     Set(n, choices);