mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
This commit is contained in:
commit
073579eefc
6 changed files with 58 additions and 24 deletions
|
@ -2930,7 +2930,13 @@ void Tab::OnTreeSelChange(wxTreeEvent& event)
|
|||
#ifdef __linux__
|
||||
std::unique_ptr<wxWindowUpdateLocker> no_updates(new wxWindowUpdateLocker(this));
|
||||
#else
|
||||
// wxWindowUpdateLocker noUpdates(this);
|
||||
/* On Windows we use DoubleBuffering during rendering,
|
||||
* so on Window is no needed to call a Freeze/Thaw functions.
|
||||
* But under OSX (builds compiled with MacOSX10.14.sdk) wxStaticBitmap rendering is broken without Freeze/Thaw call.
|
||||
*/
|
||||
#ifdef __WXOSX__
|
||||
wxWindowUpdateLocker noUpdates(this);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (m_pages.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue