X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6179a847d8899cceb8880abc2ab2fe9d0244c90..cd2e8564d7ca31209289d32a0e503292db1a4b65:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index b82ca69811..58917edc04 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "univlistbox.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -88,6 +84,7 @@ wxListBox::wxListBox(wxWindow *parent, long style, const wxValidator& validator, const wxString &name) + :wxScrollHelper(this) { Init(); @@ -139,8 +136,6 @@ bool wxListBox::Create(wxWindow *parent, validator, name) ) return false; - SetWindow(this); - m_strings = new wxArrayString; Set(n, choices);