diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-15 16:41:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-15 16:41:04 +0100 |
| commit | 89cd28f73417782462bc23425de65eb087b5967b (patch) | |
| tree | d9d253307f083fc2caa1f852cf686b01b32cd774 /src/wx/wx_util.h | |
| parent | 45f9912aa850546e319e32a4052517d67f4e3d8f (diff) | |
Improve layout of properties window.
Diffstat (limited to 'src/wx/wx_util.h')
| -rw-r--r-- | src/wx/wx_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index d942d8fa8..aefa75fca 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -24,6 +24,7 @@ #include <wx/gbsizer.h> #include <boost/function.hpp> #include <boost/thread.hpp> +#include <boost/signals2.hpp> #ifdef __WXGTK__ #include <gtk/gtk.h> #endif @@ -59,6 +60,9 @@ public: ThreadedStaticText (wxWindow* parent, wxString initial, boost::function<std::string ()> fn); ~ThreadedStaticText (); + /** Emitted in the UI thread when the text has been set up */ + boost::signals2::signal<void()> Finished; + private: void run (boost::function<std::string ()> fn); void thread_finished (wxCommandEvent& ev); |
