mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Docker icon on OSX
This commit is contained in:
parent
48e5f53663
commit
e407b79c94
3 changed files with 46 additions and 36 deletions
|
@ -7,9 +7,9 @@
|
|||
#include <wx/settings.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/filehistory.h>
|
||||
#if ENABLE_GCODE_VIEWER_TASKBAR_ICON
|
||||
#ifdef __APPLE__
|
||||
#include <wx/taskbar.h>
|
||||
#endif // ENABLE_GCODE_VIEWER_TASKBAR_ICON
|
||||
#endif __APPLE__
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
@ -141,11 +141,7 @@ protected:
|
|||
|
||||
public:
|
||||
MainFrame();
|
||||
#if ENABLE_GCODE_VIEWER_TASKBAR_ICON
|
||||
~MainFrame();
|
||||
#else
|
||||
~MainFrame() = default;
|
||||
#endif // ENABLE_GCODE_VIEWER_TASKBAR_ICON
|
||||
|
||||
void update_layout();
|
||||
|
||||
|
@ -202,9 +198,9 @@ public:
|
|||
wxProgressDialog* m_progress_dialog { nullptr };
|
||||
std::shared_ptr<ProgressStatusBar> m_statusbar;
|
||||
|
||||
#if ENABLE_GCODE_VIEWER_TASKBAR_ICON
|
||||
wxTaskBarIcon* m_taskbar_icon{ nullptr };
|
||||
#endif // ENABLE_GCODE_VIEWER_TASKBAR_ICON
|
||||
#ifdef __APPLE__
|
||||
std::unique_ptr<wxTaskBarIcon> m_taskbar_icon;
|
||||
#endif // __APPLE__
|
||||
|
||||
#ifdef _WIN32
|
||||
void* m_hDeviceNotify { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue