X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdcpomatic_button.cc;h=beab6422770f6e7b1dd5a2cef0aaa3c24759d717;hb=f54283f3ad09b896e7b204b76c12e6061d0405e0;hp=de26629a981239a37b9b2b53f4c815b92ee17fbc;hpb=8b2a3f31b6b4238d8534549f495e7276174ddfba;p=dcpomatic.git diff --git a/src/wx/dcpomatic_button.cc b/src/wx/dcpomatic_button.cc index de26629a9..beab64227 100644 --- a/src/wx/dcpomatic_button.cc +++ b/src/wx/dcpomatic_button.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington + Copyright (C) 2018-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -22,7 +22,7 @@ Button::Button (wxWindow* parent, wxString label, wxPoint pos, wxSize size, long style) : wxButton (parent, wxID_ANY, label, pos, size, style) - , I18NHook (this) + , I18NHook (this, get_text()) { }