X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e39af974ef7846e26686ae39d74e4696c1fef0c3..e55c4dd1b1c6b4ebaa86d014c71b378baba77bec:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 4612caa01d..33ba2ea3a3 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univlistbox.h" #endif @@ -106,7 +106,7 @@ bool wxListBox::Create(wxWindow *parent, #endif if ( !wxControl::Create(parent, id, pos, size, style, - wxDefaultValidator, name) ) + validator, name) ) return FALSE; SetWindow(this); @@ -622,6 +622,7 @@ void wxListBox::OnInternalIdle() m_updateCount = 0; } + wxListBoxBase::OnInternalIdle(); } // ---------------------------------------------------------------------------- @@ -769,7 +770,7 @@ void wxListBox::DoSetSize(int x, int y, height = ((height - hBorders + hLine - 1) / hLine)*hLine + hBorders; } - wxListBoxBase::DoSetSize(x, y, width, height); + wxListBoxBase::DoSetSize(x, y, width, height, sizeFlags); } wxSize wxListBox::DoGetBestClientSize() const