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:
Vadim Zeitlin
2001-06-16 01:09:30 +00:00
parent 50567b69d6
commit fe31f91ccb

View File

@@ -36,7 +36,8 @@ class MySplitterWindow : public wxSplitterWindow
{
public:
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;
}
@@ -145,8 +146,10 @@ BEGIN_EVENT_TABLE(MyFrame, wxFrame)
END_EVENT_TABLE()
// My frame constructor
MyFrame::MyFrame(wxFrame* frame, const wxString& title, const wxPoint& pos, const wxSize& size):
wxFrame(frame, SPLITTER_FRAME, title, pos, size)
MyFrame::MyFrame(wxFrame* frame, const wxString& title,
const wxPoint& pos, const wxSize& size)
: wxFrame(frame, SPLITTER_FRAME, title, pos, size,
wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE)
{
CreateStatusBar(2);