Fixes a performance issues on Windows, where the cut is being (#3400)
Fixes a performance issues on Windows, where the cut is being (#3400)

refreshed many times for a single move of the Z plane.

Fixes a problem on Windows, where the new wxWidgets always returned
Cancel, even if the window was closed with the "Cut" button.

Improved performance if the live preview is disabled or not needed,
because both top and bottom parts shall be displayed.
alexrj/Slic3r,xoan/Slic3r,alexrj/Slic3r,curieos/Slic3r,xoan/Slic3r,platsch/Slic3r,tmotl/Slic3r,tmotl/Slic3r,pieis2pi/Slic3r,lordofhyphens/Slic3r,xoan/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,curieos/Slic3r,lordofhyphens/Slic3r,alexrj/Slic3r,tmotl/Slic3r,xoan/Slic3r,platsch/Slic3r,platsch/Slic3r,alexrj/Slic3r,mcilhargey/Slic3r,xoan/Slic3r,platsch/Slic3r,mcilhargey/Slic3r,mcilhargey/Slic3r,lordofhyphens/Slic3r,tmotl/Slic3r,pieis2pi/Slic3r,lordofhyphens/Slic3r,lordofhyphens/Slic3r,platsch/Slic3r,pieis2pi/Slic3r,lordofhyphens/Slic3r,pieis2pi/Slic3r,xoan/Slic3r,tmotl/Slic3r,mcilhargey/Slic3r,pieis2pi/Slic3r,mcilhargey/Slic3r,mcilhargey/Slic3r,curieos/Slic3r,curieos/Slic3r,mcilhargey/Slic3r,curieos/Slic3r,alexrj/Slic3r,alexrj/Slic3r,tmotl/Slic3r,platsch/Slic3r