OSX specific: Trying to detect opening of files through Finder at the application start to switch to G-code viewer

This commit is contained in:
test 2020-10-06 14:23:17 +02:00
parent b42a12db66
commit 6fc98f05ef
2 changed files with 20 additions and 0 deletions

View file

@ -250,6 +250,7 @@ public:
virtual bool OnExceptionInMainLoop() override;
#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.