A draft for a possible fix to the redraw

problems when using control with borders
     and the wxNO_FULL_REPAINT_ON_RESIZE flag
     under wxUniv.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-03-17 20:07:17 +00:00
parent 5268c5a32b
commit ec47a14774
2 changed files with 56 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ bool wxControl::Create(wxWindow *parent,
// less flicker and none of the standard controls needs to be entirely
// repainted after resize anyhow.
if ( !wxControlBase::Create(parent, id, pos, size,
style | wxNO_FULL_REPAINT_ON_RESIZE,
style | wxNO_FULL_REPAINT_ON_RESIZE ,
validator, name) )
{
// underlying window creation failed?