]> git.saurik.com Git - wxWidgets.git/commitdiff
Need wxFULL_REPAINT_ON_SIZE for the background to erase properly (needs to be
authorJulian Smart <julian@anthemion.co.uk>
Mon, 7 Mar 2005 22:17:01 +0000 (22:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 7 Mar 2005 22:17:01 +0000 (22:17 +0000)
optimized)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/dbbrowse/doc.cpp

index 637de5a016bb4f9d95f241c54cfa048a678cba38..e0fd5ac3764778b6f07904d0da6b80c35891b186 100644 (file)
@@ -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 );