summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-05 14:42:26 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-05 14:42:26 +0000
commitf3145f04ac18d161551f2eb3348f16e55a6e9b5c (patch)
treee5e9afca2b5726ba4d7cb4efe641119a54ac6c78 /src/wx/wx_util.h
parentd6c2a4a682d0d61d5be108106ab870d69b3fae8b (diff)
Tidy up GUI code.
Diffstat (limited to 'src/wx/wx_util.h')
-rw-r--r--src/wx/wx_util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index 12a6e8837..c2c3b6dde 100644
--- a/src/wx/wx_util.h
+++ b/src/wx/wx_util.h
@@ -21,6 +21,9 @@
#include <boost/function.hpp>
#include <boost/thread.hpp>
+class wxFilePickerCtrl;
+class wxSpinCtrl;
+
/** @file src/wx/wx_util.h
* @brief Some utility functions and classes.
*/
@@ -50,3 +53,9 @@ private:
static const int _update_event_id;
};
+
+extern void checked_set (wxFilePickerCtrl* widget, std::string value);
+extern void checked_set (wxSpinCtrl* widget, int value);
+extern void checked_set (wxComboBox* widget, int value);
+extern void checked_set (wxTextCtrl* widget, std::string value);
+extern void checked_set (wxCheckBox* widget, bool value);