Try to fix OS X build.
authorCarl Hetherington <cth@carlh.net>
Sun, 21 Feb 2016 19:51:59 +0000 (19:51 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 21 Feb 2016 19:51:59 +0000 (19:51 +0000)
src/wx/table_dialog.cc

index 3f8d10fe14aee08e0459e9c5d30e01f71b63840b..f19565e32fc70ae61f415699c472111bd410d4fe 100644 (file)
@@ -57,10 +57,10 @@ TableDialog::add (wxString text, bool)
 #endif
 {
        int flags = wxALIGN_CENTER_VERTICAL | wxLEFT | wxRIGHT;
-#ifdef __WXOSX__
+#ifdef DCPOMATIC_OSX
        if (label) {
                flags |= wxALIGN_RIGHT;
-               t += wxT (":");
+               text += wxT (":");
        }
 #endif
        wxStaticText* m = new wxStaticText (this, wxID_ANY, wxT (""));