]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
64 bit clean implementation
[wxWidgets.git] / src / common / sizer.cpp
index 364b173dc15c93c3c5a0dda68085858eca5e9a2b..3b1a77280abf9af8d861d6f65069639e28b97a03 100644 (file)
     #include "wx/toplevel.h"
 #endif // WX_PRECOMP
 
-#if wxUSE_SYSTEM_OPTIONS
-#include "wx/sysopt.h"
-#endif
-
 #include "wx/listimpl.cpp"
 
 
@@ -796,13 +792,6 @@ wxSize wxSizer::Fit( wxWindow *window )
             }
 
             sizeMax = wxDisplay(disp).GetClientArea().GetSize();
-
-#if wxUSE_SYSTEM_OPTIONS
-            int marginX = wxSystemOptions::GetOptionInt(wxT("sizer.desktopmargin.x"));
-            int marginY = wxSystemOptions::GetOptionInt(wxT("sizer.desktopmargin.y"));
-            sizeMax.x -= marginX;
-            sizeMax.y -= marginY;
-#endif
         }
     }