Remove no-op uses of wxNO_FULL_REPAINT_ON_RESIZE
This behaviour has been the default and this constant 0 since
e441e1f4e8
which was over 16 years ago.
Closes https://github.com/wxWidgets/wxWidgets/pull/1601
This commit is contained in:
committed by
Vadim Zeitlin
parent
bf4640f1d8
commit
18e05aeeee
@@ -524,7 +524,7 @@ wxEND_EVENT_TABLE()
|
||||
|
||||
MyCanvas::MyCanvas(MyFrame *parent)
|
||||
: wxScrolledWindow(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize,
|
||||
wxHSCROLL | wxVSCROLL | wxNO_FULL_REPAINT_ON_RESIZE)
|
||||
wxHSCROLL | wxVSCROLL)
|
||||
{
|
||||
m_owner = parent;
|
||||
m_show = File_ShowDefault;
|
||||
@@ -2162,8 +2162,7 @@ wxEND_EVENT_TABLE()
|
||||
|
||||
// frame constructor
|
||||
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
|
||||
: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size,
|
||||
wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE)
|
||||
: wxFrame((wxFrame *)NULL, wxID_ANY, title, pos, size)
|
||||
{
|
||||
// set the frame icon
|
||||
SetIcon(wxICON(sample));
|
||||
|
Reference in New Issue
Block a user