Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2018-12-18 20:40:35 +0300
committerVojtech Kral <vojtech@kral.hk>2018-12-18 20:50:37 +0300
commitec9caae6227d8a151bd673d1e1214f197c803d1a (patch)
treeeb9a33678bc63c28e9959bc46433a50ddf0a0e5a /src/slic3r/GUI/MsgDialog.hpp
parentbb5caf2e08ca3be318501ff0580242e84d1e4355 (diff)
Http & ErrorDialog: Improve error reporting
Diffstat (limited to 'src/slic3r/GUI/MsgDialog.hpp')
-rw-r--r--src/slic3r/GUI/MsgDialog.hpp6
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;
};