c++11 tidying.
[dcpomatic.git] / src / wx / email_dialog.cc
index b95d79b03ba83174c72e091eb21635d9b83ff28b..4d3ae4fe135a54a26dd3f572d230962a82a57a0e 100644 (file)
@@ -22,7 +22,7 @@
 #include "wx_util.h"
 
 using std::string;
-using boost::shared_ptr;
+using std::shared_ptr;
 using boost::optional;
 
 EmailDialog::EmailDialog (wxWindow* parent)
@@ -32,6 +32,8 @@ EmailDialog::EmailDialog (wxWindow* parent)
        _email = add (new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, wxSize (400, -1)));
 
        layout ();
+
+       _email->SetFocus ();
 }
 
 void