mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 13:52:07 +00:00
FIX: use dialog instead of popup window
jira: [STUDIO-10692] Change-Id: I85e8da120946fc6ff845c9b88d4f1594e313652b (cherry picked from commit 7115c1ca177e98c2931517d748ce4d63d3a067da)
This commit is contained in:
@@ -174,7 +174,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class FanControlPopupNew : public PopupWindow
|
||||
class FanControlPopupNew : public wxDialog
|
||||
{
|
||||
public:
|
||||
FanControlPopupNew(wxWindow* parent, MachineObject* obj, const AirDuctData& data);
|
||||
@@ -248,8 +248,6 @@ public:
|
||||
void post_event(int fan_type, wxString speed);
|
||||
void on_show(wxShowEvent& evt);
|
||||
void command_control_air_duct(int mode_id);
|
||||
virtual void OnDismiss() wxOVERRIDE;
|
||||
virtual bool ProcessLeftDown(wxMouseEvent& event) wxOVERRIDE;
|
||||
};
|
||||
wxDECLARE_EVENT(EVT_FAN_SWITCH_ON, wxCommandEvent);
|
||||
wxDECLARE_EVENT(EVT_FAN_SWITCH_OFF, wxCommandEvent);
|
||||
|
||||
Reference in New Issue
Block a user