From 1aca952110d905a1705aaaf16763466466815f4e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 7 Mar 2005 22:17:01 +0000 Subject: [PATCH] Need wxFULL_REPAINT_ON_SIZE for the background to erase properly (needs to be optimized) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/dbbrowse/doc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/dbbrowse/doc.cpp b/demos/dbbrowse/doc.cpp index 637de5a016..e0fd5ac376 100644 --- a/demos/dbbrowse/doc.cpp +++ b/demos/dbbrowse/doc.cpp @@ -102,7 +102,7 @@ bool MainDoc::OnInitView() // create "workplace" window //--------------------------------------------------------------------------------------- p_TabArea = new wxTabbedWindow(); // Init the Pointer - p_TabArea->Create(p_Splitter, wxID_ANY); + p_TabArea->Create(p_Splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE); //--------------------------------------------------------------------------------------- p_PgmCtrl = new PgmCtrl(p_TabArea, TREE_CTRL_PGM,wxDefaultPosition, wxDefaultSize, wxTR_HAS_BUTTONS | wxSUNKEN_BORDER); @@ -119,7 +119,7 @@ bool MainDoc::OnInitView() // now create "output" window //--------------------------------------------------------------------------------------- p_PageArea = new wxPagedWindow(); // Init the Pointer - p_PageArea->Create(p_Splitter, wxID_ANY); + p_PageArea->Create(p_Splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE); //--------------------------------------------------------------------------------------- p_LogWin = new wxTextCtrl(p_PageArea,wxID_ANY,wxEmptyString, wxDefaultPosition, wxDefaultSize,wxTE_MULTILINE ); -- 2.47.2