Rename _size -> _video_size
[dcpomatic.git] / src / wx / server_dialog.cc
index abad589891231e0de8e876039df6b03424e43855..5761222c64eec703decaf228c3dfb760e11b39b4 100644 (file)
@@ -23,7 +23,7 @@
 #include "wx_util.h"
 
 using std::string;
-using boost::shared_ptr;
+using std::shared_ptr;
 using boost::optional;
 
 ServerDialog::ServerDialog (wxWindow* parent)
@@ -41,6 +41,8 @@ ServerDialog::ServerDialog (wxWindow* parent)
        _host = add (new wxTextCtrl (this, wxID_ANY, wxT (""), wxDefaultPosition, size));
 
        layout ();
+
+       _host->SetFocus ();
 }
 
 void