From: Vadim Zeitlin Date: Tue, 13 Apr 2004 12:25:05 +0000 (+0000) Subject: removed m_bestSize X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/072c5412c2f89e31255ba06d55f25c743b7bc15a removed m_bestSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/window.h b/include/wx/window.h index 63b37aedc4..b754c4ac8e 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -1120,8 +1120,6 @@ protected: #if wxUSE_ACCESSIBILITY wxAccessible* m_accessible; #endif - // Best size for controls which fail to implement DoGetBestSize() - wxSize m_bestSize; // Virtual size (scrolling) wxSize m_virtualSize; diff --git a/src/generic/vlbox.cpp b/src/generic/vlbox.cpp index 903e187827..989f6f797d 100644 --- a/src/generic/vlbox.cpp +++ b/src/generic/vlbox.cpp @@ -84,8 +84,6 @@ bool wxVListBox::Create(wxWindow *parent, m_colBgSel = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT); - m_bestSize = GetSize(); - return true; }