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:
authorYuSanka <yusanka@gmail.com>2018-12-11 15:57:50 +0300
committerYuSanka <yusanka@gmail.com>2018-12-11 16:05:56 +0300
commite1cea03cda35418603c948f982e300b2ec9c7d1a (patch)
tree71ed86c95601153786222167cf0ed3cb8a5fc79b /src/slic3r/GUI/Field.hpp
parentd7bc1410eea26c7b44f4657964a57b50d64894e5 (diff)
Added template for the handle of the TextCtrl's focus event
Diffstat (limited to 'src/slic3r/GUI/Field.hpp')
-rw-r--r--src/slic3r/GUI/Field.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Field.hpp b/src/slic3r/GUI/Field.hpp
index 66a71b34d..0097d3ec0 100644
--- a/src/slic3r/GUI/Field.hpp
+++ b/src/slic3r/GUI/Field.hpp
@@ -76,6 +76,8 @@ protected:
//! in another case we can't unfocused control at all
void on_kill_focus(wxEvent& event);
/// Call the attached on_change method.
+ void on_set_focus(wxEvent& event);
+ /// Call the attached on_change method.
void on_change_field();
/// Call the attached m_back_to_initial_value method.
void on_back_to_initial_value();
@@ -90,6 +92,9 @@ public:
t_kill_focus m_on_kill_focus {nullptr};
/// Function object to store callback passed in from owning object.
+ t_kill_focus m_on_set_focus {nullptr};
+
+ /// Function object to store callback passed in from owning object.
t_change m_on_change {nullptr};
/// Function object to store callback passed in from owning object.