summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-15 01:15:55 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-15 01:15:55 +0200
commitc103d8c1306e5fb3937b3a6c430a3fff32653fa3 (patch)
tree60609a21e09595990e38d33fa5df2f32a49fe8b9 /src/wx
parent41bab4e95911d3ae99081556db5fe1d29ac008b5 (diff)
Fix some spelling mistakes (mostly in comments).
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/content_panel.cc2
-rw-r--r--src/wx/focus_manager.h2
-rw-r--r--src/wx/screen_dialog.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 5f3b3e476..f51d5ed48 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -550,7 +550,7 @@ bool
ContentPanel::remove_clicked (bool hotkey)
{
/* If the method was called because Delete was pressed check that our notebook page
- is visible and that the content list is focussed.
+ is visible and that the content list is focused.
*/
if (hotkey && (_parent->GetCurrentPage() != _splitter || !_content->HasFocus())) {
return true;
diff --git a/src/wx/focus_manager.h b/src/wx/focus_manager.h
index 337d87739..ca4c4e384 100644
--- a/src/wx/focus_manager.h
+++ b/src/wx/focus_manager.h
@@ -31,7 +31,7 @@ class wxFocusEvent;
*
* 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
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc
index 38e6a85bf..716f9e9eb 100644
--- a/src/wx/screen_dialog.cc
+++ b/src/wx/screen_dialog.cc
@@ -70,7 +70,7 @@ public:
_certificate = dcp::Certificate(dcp::file_to_string(wx_to_std(d->GetPath())));
_thumbprint->SetValue (std_to_wx(_certificate->thumbprint()));
} catch (dcp::MiscError& e) {
- error_dialog (this, wxString::Format(_("Could not load certficate (%s)"), std_to_wx(e.what())));
+ error_dialog(this, wxString::Format(_("Could not load certificate (%s)"), std_to_wx(e.what())));
}
}
}