diff options
author | Vojtech Kral <vojtech@kral.hk> | 2018-12-18 20:40:35 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2018-12-18 20:50:37 +0300 |
commit | ec9caae6227d8a151bd673d1e1214f197c803d1a (patch) | |
tree | eb9a33678bc63c28e9959bc46433a50ddf0a0e5a /src/slic3r/GUI/MsgDialog.hpp | |
parent | bb5caf2e08ca3be318501ff0580242e84d1e4355 (diff) |
Http & ErrorDialog: Improve error reporting
Diffstat (limited to 'src/slic3r/GUI/MsgDialog.hpp')
-rw-r--r-- | src/slic3r/GUI/MsgDialog.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/slic3r/GUI/MsgDialog.hpp b/src/slic3r/GUI/MsgDialog.hpp index ca349eb5c..6064d2a9f 100644 --- a/src/slic3r/GUI/MsgDialog.hpp +++ b/src/slic3r/GUI/MsgDialog.hpp @@ -50,14 +50,18 @@ protected: // Generic error dialog, used for displaying exceptions -struct ErrorDialog : MsgDialog +class ErrorDialog : public MsgDialog { +public: ErrorDialog(wxWindow *parent, const wxString &msg); ErrorDialog(ErrorDialog &&) = delete; ErrorDialog(const ErrorDialog &) = delete; ErrorDialog &operator=(ErrorDialog &&) = delete; ErrorDialog &operator=(const ErrorDialog &) = delete; virtual ~ErrorDialog(); + +private: + wxString msg; }; |