Fix win32 build.
authorCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2012 10:16:47 +0000 (11:16 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2012 10:16:47 +0000 (11:16 +0100)
src/wx/dcp_range_dialog.cc
src/wx/filter_dialog.cc

index 1397eb536fed4bf67611f1f13efba4f0a03df286..572d0c628ad5a5d9366360c760ca5057e97d0cb5 100644 (file)
@@ -22,7 +22,7 @@
 #include "wx_util.h"
 
 DCPRangeDialog::DCPRangeDialog (wxWindow* p, Film* f)
-       : wxDialog (p, wxID_ANY, _("DCP Range"))
+       : wxDialog (p, wxID_ANY, wxString (_("DCP Range")))
        , _film (f)
 {
        wxFlexGridSizer* table = new wxFlexGridSizer (2, 6, 6);
index bd844845298bcdd3012eed9308ea732c33b4e765..9ec169395421918b1d9910dcef891593d824b231 100644 (file)
@@ -28,7 +28,7 @@
 using namespace std;
 
 FilterDialog::FilterDialog (wxWindow* parent, vector<Filter const *> const & f)
-       : wxDialog (parent, wxID_ANY, _("Filters"))
+       : wxDialog (parent, wxID_ANY, wxString (_("Filters")))
        , _filters (new FilterView (this, f))
 {
        wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL);