diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic_player.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 4425f34d1..930ab0a54 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -133,6 +133,14 @@ public: main_sizer->Add (_info, 0, wxEXPAND | wxALL, 6); overall_panel->SetSizer (main_sizer); +#ifdef __WXOSX__ + wxAcceleratorEntry* accel = new wxAcceleratorEntry[1]; + accel[0].Set(wxACCEL_CTRL, static_cast<int>('W'), ID_file_close); + wxAcceleratorTable accel_table (1, accel); + SetAcceleratorTable (accel_table); + delete[] accel; +#endif + UpdateChecker::instance()->StateChanged.connect (boost::bind (&DOMFrame::update_checker_state_changed, this)); } |
