mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-05 19:42:47 +00:00
Fix memory leak in ProgressStatusBar
This commit is contained in:
@@ -25,9 +25,9 @@ namespace Slic3r {
|
||||
class ProgressStatusBar
|
||||
{
|
||||
wxStatusBar *self; // we cheat! It should be the base class but: perl!
|
||||
wxTimer *m_timer;
|
||||
wxGauge *m_prog;
|
||||
wxButton *m_cancelbutton;
|
||||
std::unique_ptr<wxTimer> m_timer;
|
||||
public:
|
||||
|
||||
/// Cancel callback function type
|
||||
|
||||
Reference in New Issue
Block a user