X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffocus_manager.h;h=ca4c4e384e25902abee86f7903553add9f73567a;hp=3c91c22fa616d006da53dfdda99b34abd2c6ddbe;hb=c103d8c1306e5fb3937b3a6c430a3fff32653fa3;hpb=67e67ea42fcfd2a0805fd96f44a2435992a3320e diff --git a/src/wx/focus_manager.h b/src/wx/focus_manager.h index 3c91c22fa..ca4c4e384 100644 --- a/src/wx/focus_manager.h +++ b/src/wx/focus_manager.h @@ -18,17 +18,20 @@ */ + #include + class wxTextCtrl; class wxFocusEvent; + /** @class FocusManager class * @brief A central point for notifications about when wxTextCtrls get focus in the main window. * * This allows us to turn off accelerators for the duration of the focus so that they don't steal * keypresses. It's a hack but the only way I could make it work on all platforms (looking for - * the focussed thing and doing ev.Skip() if it's a wxTextCtrl did not work for me on Windows: + * the focused thing and doing ev.Skip() if it's a wxTextCtrl did not work for me on Windows: * ev.Skip() did not cause the event to be delivered). */ class FocusManager