New uk_UA translation from Igor Voytovich.
[dcpomatic.git] / src / wx / report_problem_dialog.cc
index 78c092921ce5d62db81c905207dbd896bcf4dc5f..407a7370bed43de08669b2ed032d9e1c8fd22493 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    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
@@ -27,6 +27,7 @@
 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)
@@ -47,11 +48,9 @@ ReportProblemDialog::ReportProblemDialog (wxWindow* parent, shared_ptr<Film> fil
        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);