fix repaint problems when resizing the frame

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-02-07 22:30:56 +00:00
parent 5e14f15d48
commit cdf03c2292

View 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;