mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX:macos13 system display printer rename button
Change-Id: I56a492043690ee6ef320fee626f4a09c070119d9
This commit is contained in:
parent
1ca7c4e554
commit
447e7306bd
2 changed files with 26 additions and 8 deletions
|
@ -117,6 +117,7 @@ private:
|
|||
bool m_show_edit{false};
|
||||
bool m_show_bind{false};
|
||||
bool m_hover {false};
|
||||
bool m_is_macos_special_version{false};
|
||||
|
||||
|
||||
PrinterBindState m_bind_state;
|
||||
|
@ -145,17 +146,14 @@ public:
|
|||
const wxSize & size = wxDefaultSize,
|
||||
long style = wxTAB_TRAVERSAL,
|
||||
const wxString &name = wxEmptyString);
|
||||
|
||||
~MachineObjectPanel();
|
||||
|
||||
void show_bind_dialog();
|
||||
|
||||
void set_printer_state(PrinterState state);
|
||||
|
||||
void show_printer_bind(bool show, PrinterBindState state);
|
||||
void show_edit_printer_name(bool show);
|
||||
|
||||
void update_machine_info(MachineObject *info, bool is_my_devices = false);
|
||||
|
||||
protected:
|
||||
void OnPaint(wxPaintEvent &event);
|
||||
void render(wxDC &dc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue