#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;
+using std::shared_ptr;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
NagDialog::NagDialog (wxWindow* parent, Config::Nag nag, wxString message, bool can_cancel)
: wxDialog (parent, wxID_ANY, _("Important notice"))
{
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);