]> git.saurik.com Git - wxWidgets.git/commitdiff
fix repaint problems when resizing the frame
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 7 Feb 2009 22:30:56 +0000 (22:30 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 7 Feb 2009 22:30:56 +0000 (22:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/debugrpt/debugrpt.cpp

index b0faf4b5c3cd03f5a42a456d3605239da01b46d0..15133706cf2a874c6e7ca5e70e1c0caa68bbbf11 100644 (file)
@@ -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;