Notice dialog when opening any link outside PrusaSlicer

This commit is contained in:
David Kocik 2021-08-25 15:07:30 +02:00
parent ca098d5763
commit e6bae06557
6 changed files with 27 additions and 10 deletions

View file

@ -261,7 +261,8 @@ public:
void open_preferences(size_t open_on_tab = 0);
virtual bool OnExceptionInMainLoop() override;
// Calls wxLaunchDefaultBrowser if user confirms in dialog.
bool open_browser_with_warning_dialog(const wxString& url, int flags = 0);
#ifdef __APPLE__
void OSXStoreOpenFiles(const wxArrayString &files) override;
// wxWidgets override to get an event on open files.