mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
FIX: MediaPlayCtrl maybe deleted
jira: [STUDIO-12622] Change-Id: I9ee879c5bd046c9b3e1d33c96b7e3db9c9b35153 (cherry picked from commit 862fb9b53d3cda87135b93f5365608e22fc04411)
This commit is contained in:
@@ -72,6 +72,9 @@ private:
|
||||
static const wxMediaState MEDIASTATE_LOADING = (wxMediaState) 5;
|
||||
static const wxMediaState MEDIASTATE_BUFFERING = (wxMediaState) 6;
|
||||
|
||||
// token
|
||||
std::shared_ptr<int> m_token = std::make_shared<int>(0);
|
||||
|
||||
wxMediaCtrl2 * m_media_ctrl;
|
||||
wxMediaState m_last_state = MEDIASTATE_IDLE;
|
||||
std::string m_machine;
|
||||
|
||||
Reference in New Issue
Block a user