made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,12 +70,7 @@ bool wxControl::Create(wxWindow *parent,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
// Ee use wxNO_FULL_REPAINT_ON_RESIZE by default as it results in much
|
||||
// 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 ,
|
||||
validator, name) )
|
||||
if ( !wxControlBase::Create(parent, id, pos, size, style, validator, name) )
|
||||
{
|
||||
// underlying window creation failed?
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user