]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgridpagestate.cpp
Use wxInitializer in wxEntryReal() instead of directly calling wxEntryStart() without...
[wxWidgets.git] / src / propgrid / propgridpagestate.cpp
index 91c82e609c8b0670bca23f9d65bb152bb2ce937d..1861b67ef65685281d2061c1bd8f2999f90eca2f 100644 (file)
@@ -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 );
                 }