]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgrid.cpp
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / propgrid / propgrid.cpp
index 87380ff30de8ca14a8c92b9234481f356603d8d4..aa61cf944d58a9aa850c7a8c4c8a29f6a7d41dd9 100644 (file)
@@ -4557,7 +4557,6 @@ void wxPropertyGrid::RecalculateVirtualSize( int forceXPos )
     if ( !HasVirtualWidth() )
     {
         m_pState->SetVirtualWidth(width);
     if ( !HasVirtualWidth() )
     {
         m_pState->SetVirtualWidth(width);
-        x = width;
     }
 
     m_width = width;
     }
 
     m_width = width;