mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-02 16:59:48 +02:00
Docker icon on OSX
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user