Allow debug builds with no internet connection. Also add missing patron.
[dcpomatic.git] / src / wx / nag_dialog.cc
index 2226938f349ead205077392df6c78cb1be069fa7..abe460869b88e477ad2218729c9f9ce92999eb85 100644 (file)
@@ -22,7 +22,6 @@
 #include "wx_util.h"
 #include "static_text.h"
 #include "check_box.h"
-#include <wx/richtext/richtextctrl.h>
 #include <boost/foreach.hpp>
 
 using boost::shared_ptr;
@@ -33,7 +32,7 @@ NagDialog::NagDialog (wxWindow* parent, Config::Nag nag, wxString message, bool
 {
        wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL);
        _text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize (400, 300));
-       sizer->Add (_text, 1, wxEXPAND | wxALL, 6);
+       sizer->Add (_text, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
 
        wxCheckBox* b = new CheckBox (this, _("Don't show this message again"));
        sizer->Add (b, 0, wxALL, 6);