applied (part of) patch 433176 (reduce flicker)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,7 +36,8 @@ class MySplitterWindow : public wxSplitterWindow
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MySplitterWindow(wxFrame *parent, wxWindowID id)
|
MySplitterWindow(wxFrame *parent, wxWindowID id)
|
||||||
: wxSplitterWindow(parent, id, wxDefaultPosition, wxDefaultSize, wxSP_3D | wxSP_LIVE_UPDATE)
|
: wxSplitterWindow(parent, id, wxDefaultPosition, wxDefaultSize,
|
||||||
|
wxSP_3D | wxSP_LIVE_UPDATE | wxCLIP_CHILDREN)
|
||||||
{
|
{
|
||||||
m_frame = parent;
|
m_frame = parent;
|
||||||
}
|
}
|
||||||
@@ -145,8 +146,10 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
// My frame constructor
|
// My frame constructor
|
||||||
MyFrame::MyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos, const wxSize& size):
|
MyFrame::MyFrame(wxFrame* frame, const wxString& title,
|
||||||
wxFrame(frame, SPLITTER_FRAME, title, pos, size)
|
const wxPoint& pos, const wxSize& size)
|
||||||
|
: wxFrame(frame, SPLITTER_FRAME, title, pos, size,
|
||||||
|
wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE)
|
||||||
{
|
{
|
||||||
CreateStatusBar(2);
|
CreateStatusBar(2);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user