Cache slider size in DoSetSize.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -495,6 +495,7 @@ void wxSlider::DoSetSize(
|
||||
|
||||
if (nOS2Height < 0)
|
||||
nOS2Height = 20;
|
||||
CacheBestSize(wxSize(nWidth,nOS2Height));
|
||||
|
||||
if (pParent)
|
||||
{
|
||||
|
Reference in New Issue
Block a user