From cdf03c2292e0365bc565638dfc1df16aacd0d624 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 7 Feb 2009 22:30:56 +0000 Subject: [PATCH] fix repaint problems when resizing the frame git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/debugrpt/debugrpt.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/debugrpt/debugrpt.cpp b/samples/debugrpt/debugrpt.cpp index b0faf4b5c3..15133706cf 100644 --- a/samples/debugrpt/debugrpt.cpp +++ b/samples/debugrpt/debugrpt.cpp @@ -229,7 +229,8 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame) END_EVENT_TABLE() MyFrame::MyFrame() - : wxFrame(NULL, wxID_ANY, _T("wxWidgets Debug Report Sample")) + : wxFrame(NULL, wxID_ANY, _T("wxWidgets Debug Report Sample"), + wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE|wxDEFAULT_FRAME_STYLE) { m_numLines = 10; -- 2.47.2