From: Julian Smart Date: Thu, 4 Jun 2009 08:01:58 +0000 (+0000) Subject: Use live update for splitter on Mac since Leopard seems even more susceptible to... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e7da4267d8d6b196d5d9288344934688add68f5 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/trunk@60889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 8f5d314642..b4aafe1a76 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -364,7 +364,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);