mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
Fixes 11 Compiler Warnings (#10753)
* fixes: wxTimerEvent not supposed to be created by user code [-Wdeprecated-declarations] * use wxTimerEvent instead of wxCommandEvent. --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
committed by
GitHub
parent
504a5d3b70
commit
bed3cf154a
@@ -801,7 +801,7 @@ bool SendMultiMachinePage::Show(bool show)
|
||||
m_refresh_timer->Stop();
|
||||
m_refresh_timer->SetOwner(this);
|
||||
m_refresh_timer->Start(4000);
|
||||
wxPostEvent(this, wxTimerEvent());
|
||||
wxPostEvent(this, wxTimerEvent(*m_refresh_timer));
|
||||
}
|
||||
else {
|
||||
m_refresh_timer->Stop();
|
||||
|
||||
Reference in New Issue
Block a user