Quick (temporary) fix for some spurious splitter movement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9a1eabd485
commit
8034d81d3c
@ -353,9 +353,9 @@ void wxPropertyGridPageState::OnClientWidthChange( int newWidth, int widthChange
|
||||
long timeSinceCreation = (::wxGetLocalTimeMillis() - GetGrid()->m_timeCreated).ToLong();
|
||||
|
||||
// If too long, don't set splitter
|
||||
if ( timeSinceCreation < 3000 )
|
||||
if ( timeSinceCreation < 250 )
|
||||
{
|
||||
if ( m_properties->GetChildCount() || timeSinceCreation > 750 )
|
||||
if ( m_properties->GetChildCount() )
|
||||
{
|
||||
SetSplitterLeft( false );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user