From 1b98c87ba68473a79b88bfeef65cde40b2964be9 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 4 Jun 2009 08:01:38 +0000 Subject: [PATCH] Use live update for splitter on Mac since Leopard seems even more susceptible to screen drawing crashes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/helpwnd.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 55274edfbc..91a833278f 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -363,7 +363,12 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id, { // traditional help controller; splitter window with html page on the // right and a notebook containing various pages on the left - m_Splitter = new wxSplitterWindow(this); + long splitterStyle = wxSP_3D; + // Drawing moving sash can cause problems on wxMac +#ifdef __WXMAC__ + splitterStyle |= wxSP_LIVE_UPDATE; +#endif + m_Splitter = new wxSplitterWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, splitterStyle); topWindowSizer->Add(m_Splitter, 1, wxEXPAND);