summaryrefslogtreecommitdiff
path: root/src/wx/dir_picker_ctrl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-08 00:09:57 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-08 00:09:57 +0000
commit9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (patch)
tree674348c2090d46047c62ad6e1fdbb3a0b5c32896 /src/wx/dir_picker_ctrl.cc
parentcac2b6f2c8dffcb7271d71fc23c0150c2fe4d6ea (diff)
Basics of in-place i18n with support for wxStaticText and wxCheckBox.
Diffstat (limited to 'src/wx/dir_picker_ctrl.cc')
-rw-r--r--src/wx/dir_picker_ctrl.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/dir_picker_ctrl.cc b/src/wx/dir_picker_ctrl.cc
index 2330e584a..ffd3b6fa1 100644
--- a/src/wx/dir_picker_ctrl.cc
+++ b/src/wx/dir_picker_ctrl.cc
@@ -18,12 +18,13 @@
*/
+#include "dir_picker_ctrl.h"
+#include "wx_util.h"
+#include "static_text.h"
#include <wx/wx.h>
#include <wx/stdpaths.h>
#include <wx/filepicker.h>
#include <boost/filesystem.hpp>
-#include "dir_picker_ctrl.h"
-#include "wx_util.h"
using namespace std;
using namespace boost;
@@ -33,7 +34,7 @@ DirPickerCtrl::DirPickerCtrl (wxWindow* parent)
{
_sizer = new wxBoxSizer (wxHORIZONTAL);
- _folder = new wxStaticText (this, wxID_ANY, wxT (""));
+ _folder = new StaticText (this, wxT(""));
_sizer->Add (_folder, 1, wxEXPAND | wxALL, 6);
_browse = new wxButton (this, wxID_ANY, _("Browse..."));
_sizer->Add (_browse, 0);