/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
using std::string;
using boost::shared_ptr;
+/** @param film Film that we are working on, or 0 */
ReportProblemDialog::ReportProblemDialog (wxWindow* parent, shared_ptr<Film> film)
: wxDialog (parent, wxID_ANY, _("Report A Problem"))
, _film (film)
wxString t = _("My problem is");
int flags = wxALIGN_TOP | wxLEFT | wxRIGHT;
#ifdef __WXOSX__
- if (left) {
- flags |= wxALIGN_RIGHT;
- t += wxT (":");
- }
-#endif
+ flags |= wxALIGN_RIGHT;
+ t += wxT (":");
+#endif
wxStaticText* m = new wxStaticText (this, wxID_ANY, t);
_table->Add (m, 1, flags, 6);