summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-15 16:41:04 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-15 16:41:04 +0100
commit89cd28f73417782462bc23425de65eb087b5967b (patch)
treed9d253307f083fc2caa1f852cf686b01b32cd774 /src/wx/wx_util.h
parent45f9912aa850546e319e32a4052517d67f4e3d8f (diff)
Improve layout of properties window.
Diffstat (limited to 'src/wx/wx_util.h')
-rw-r--r--src/wx/wx_util.h4
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);