From 405e126cc8cc95088866c4761c44e792c3fe9fac Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 20 Dec 1999 14:02:48 +0000 Subject: [PATCH] 'grey border' bug under MSW fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/framecmn.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 4432c7e0cb..d5bbdbfb1c 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -265,9 +265,9 @@ void wxFrameBase::OnSize(wxSizeEvent& WXUNUSED(event)) // for whatever reasons, wxGTK wants to have a small offset - it // probably looks better with it? #ifdef __WXGTK__ - static const int ofs = 0; -#else static const int ofs = 1; +#else + static const int ofs = 0; #endif child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs); -- 2.45.2