OSX: Clean-up of opening as G-codeviewer on startup.

This commit is contained in:
Vojtech Bubnik 2020-10-06 15:43:21 +02:00
parent 09755987fe
commit 44565315bf
2 changed files with 20 additions and 41 deletions

View file

@ -106,9 +106,6 @@ private:
#endif // ENABLE_GCODE_VIEWER
bool m_initialized { false };
#ifdef __APPLE__
bool m_mac_initialized { false };
#endif // __APPLE__
bool app_conf_exists{ false };
#if ENABLE_GCODE_VIEWER
EAppMode m_app_mode{ EAppMode::Editor };
@ -251,8 +248,6 @@ public:
#ifdef __APPLE__
void OSXStoreOpenFiles(const wxArrayString &files) override;
// Called if there is no file to open.
void MacNewFile();
// wxWidgets override to get an event on open files.
void MacOpenFiles(const wxArrayString &fileNames) override;
#endif /* __APPLE */