From 8c8d8c4d3af894baf27626106d0d6193ccef4996 Mon Sep 17 00:00:00 2001 From: Metallicow Date: Tue, 18 Apr 2017 05:25:46 -0500 Subject: [PATCH] Fix "ont" (instead of "one") typo in wxSTC Correct "ont" to "one" in several places. --- include/wx/stc/stc.h | 4 ++-- interface/wx/stc/stc.h | 4 ++-- src/stc/stc.cpp | 4 ++-- src/stc/stc.cpp.in | 4 ++-- src/stc/stc.h.in | 4 ++-- src/stc/stc.interface.h.in | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 4611eea8bb..a1af28aab2 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -5128,11 +5128,11 @@ public: wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; - // Set the vertical scrollbar to use instead of the ont that's built-in. + // Set the vertical scrollbar to use instead of the one that's built-in. void SetVScrollBar(wxScrollBar* bar); - // Set the horizontal scrollbar to use instead of the ont that's built-in. + // Set the horizontal scrollbar to use instead of the one that's built-in. void SetHScrollBar(wxScrollBar* bar); // Can be used to prevent the EVT_CHAR handler from adding the char diff --git a/interface/wx/stc/stc.h b/interface/wx/stc/stc.h index a623ef5d61..1fae3e15e8 100644 --- a/interface/wx/stc/stc.h +++ b/interface/wx/stc/stc.h @@ -7315,12 +7315,12 @@ public: wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; /** - Set the vertical scrollbar to use instead of the ont that's built-in. + Set the vertical scrollbar to use instead of the one that's built-in. */ void SetVScrollBar(wxScrollBar* bar); /** - Set the horizontal scrollbar to use instead of the ont that's built-in. + Set the horizontal scrollbar to use instead of the one that's built-in. */ void SetHScrollBar(wxScrollBar* bar); diff --git a/src/stc/stc.cpp b/src/stc/stc.cpp index 3e6a563569..4f03c2d6b8 100644 --- a/src/stc/stc.cpp +++ b/src/stc/stc.cpp @@ -247,7 +247,7 @@ wxIntPtr wxStyledTextCtrl::SendMsg(int msg, wxUIntPtr wp, wxIntPtr lp) const //---------------------------------------------------------------------- -// Set the vertical scrollbar to use instead of the ont that's built-in. +// Set the vertical scrollbar to use instead of the one that's built-in. void wxStyledTextCtrl::SetVScrollBar(wxScrollBar* bar) { m_vScrollBar = bar; if (bar != NULL) { @@ -257,7 +257,7 @@ void wxStyledTextCtrl::SetVScrollBar(wxScrollBar* bar) { } -// Set the horizontal scrollbar to use instead of the ont that's built-in. +// Set the horizontal scrollbar to use instead of the one that's built-in. void wxStyledTextCtrl::SetHScrollBar(wxScrollBar* bar) { m_hScrollBar = bar; if (bar != NULL) { diff --git a/src/stc/stc.cpp.in b/src/stc/stc.cpp.in index b96ce08314..4404d23ec7 100644 --- a/src/stc/stc.cpp.in +++ b/src/stc/stc.cpp.in @@ -247,7 +247,7 @@ wxIntPtr wxStyledTextCtrl::SendMsg(int msg, wxUIntPtr wp, wxIntPtr lp) const //---------------------------------------------------------------------- -// Set the vertical scrollbar to use instead of the ont that's built-in. +// Set the vertical scrollbar to use instead of the one that's built-in. void wxStyledTextCtrl::SetVScrollBar(wxScrollBar* bar) { m_vScrollBar = bar; if (bar != NULL) { @@ -257,7 +257,7 @@ void wxStyledTextCtrl::SetVScrollBar(wxScrollBar* bar) { } -// Set the horizontal scrollbar to use instead of the ont that's built-in. +// Set the horizontal scrollbar to use instead of the one that's built-in. void wxStyledTextCtrl::SetHScrollBar(wxScrollBar* bar) { m_hScrollBar = bar; if (bar != NULL) { diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 86baff0bc9..c67e286289 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -251,11 +251,11 @@ public: wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; - // Set the vertical scrollbar to use instead of the ont that's built-in. + // Set the vertical scrollbar to use instead of the one that's built-in. void SetVScrollBar(wxScrollBar* bar); - // Set the horizontal scrollbar to use instead of the ont that's built-in. + // Set the horizontal scrollbar to use instead of the one that's built-in. void SetHScrollBar(wxScrollBar* bar); // Can be used to prevent the EVT_CHAR handler from adding the char diff --git a/src/stc/stc.interface.h.in b/src/stc/stc.interface.h.in index 7a47fbcc6d..8e18eb8677 100644 --- a/src/stc/stc.interface.h.in +++ b/src/stc/stc.interface.h.in @@ -286,12 +286,12 @@ public: wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; /** - Set the vertical scrollbar to use instead of the ont that's built-in. + Set the vertical scrollbar to use instead of the one that's built-in. */ void SetVScrollBar(wxScrollBar* bar); /** - Set the horizontal scrollbar to use instead of the ont that's built-in. + Set the horizontal scrollbar to use instead of the one that's built-in. */ void SetHScrollBar(wxScrollBar* bar);