Allow changes to colours of FFmpeg subtitles (#795).
[dcpomatic.git] / src / wx / table_dialog.h
index 55572103118a6c826ba84daec39ebdbd9f950b3c..9e1d09d5737e7c9fb0f7e18f86950da8cf551a15 100644 (file)
@@ -29,8 +29,8 @@ public:
 
 protected:
        template<class T>
-       T* add (T* w) {
-               _table->Add (w, 1, wxEXPAND);
+       T* add (T* w, int proportion = 1, int flag = wxEXPAND) {
+               _table->Add (w, proportion, flag);
                return w;
        }