diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2019-12-16 15:35:45 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2019-12-16 15:35:45 +0300 |
commit | 43213b95480a085f1e9bd75ec439b69d6a7e1a97 (patch) | |
tree | 9f0e621d12f13cffffbe6772099220c573336e96 /src/slic3r/GUI/ImGuiWrapper.hpp | |
parent | 7b1e96fe7f6796c7bebfb7f85b3ddd483c88e655 (diff) |
Added [X] and [Close] buttons to close 3Dconnexion setting imgui dialog by clicking on them
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.hpp')
-rw-r--r-- | src/slic3r/GUI/ImGuiWrapper.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/ImGuiWrapper.hpp b/src/slic3r/GUI/ImGuiWrapper.hpp index 7cce60367..5118af036 100644 --- a/src/slic3r/GUI/ImGuiWrapper.hpp +++ b/src/slic3r/GUI/ImGuiWrapper.hpp @@ -56,6 +56,8 @@ public: bool begin(const std::string &name, int flags = 0); bool begin(const wxString &name, int flags = 0); + bool begin(const std::string& name, bool* close, int flags = 0); + bool begin(const wxString& name, bool* close, int flags = 0); void end(); bool button(const wxString &label); |