Fix "ont" (instead of "one") typo in wxSTC

Correct "ont" to "one" in several places.
This commit is contained in:
Metallicow
2017-04-18 05:25:46 -05:00
committed by VZ
parent 7e530e23e1
commit 8c8d8c4d3a
6 changed files with 12 additions and 12 deletions

View File

@@ -5128,11 +5128,11 @@ public:
wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; 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); 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); void SetHScrollBar(wxScrollBar* bar);
// Can be used to prevent the EVT_CHAR handler from adding the char // Can be used to prevent the EVT_CHAR handler from adding the char

View File

@@ -7315,12 +7315,12 @@ public:
wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; 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); 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); void SetHScrollBar(wxScrollBar* bar);

View File

@@ -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) { void wxStyledTextCtrl::SetVScrollBar(wxScrollBar* bar) {
m_vScrollBar = bar; m_vScrollBar = bar;
if (bar != NULL) { 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) { void wxStyledTextCtrl::SetHScrollBar(wxScrollBar* bar) {
m_hScrollBar = bar; m_hScrollBar = bar;
if (bar != NULL) { if (bar != NULL) {

View File

@@ -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) { void wxStyledTextCtrl::SetVScrollBar(wxScrollBar* bar) {
m_vScrollBar = bar; m_vScrollBar = bar;
if (bar != NULL) { 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) { void wxStyledTextCtrl::SetHScrollBar(wxScrollBar* bar) {
m_hScrollBar = bar; m_hScrollBar = bar;
if (bar != NULL) { if (bar != NULL) {

View File

@@ -251,11 +251,11 @@ public:
wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; 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); 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); void SetHScrollBar(wxScrollBar* bar);
// Can be used to prevent the EVT_CHAR handler from adding the char // Can be used to prevent the EVT_CHAR handler from adding the char

View File

@@ -286,12 +286,12 @@ public:
wxIntPtr SendMsg(int msg, wxUIntPtr wp=0, wxIntPtr lp=0) const; 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); 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); void SetHScrollBar(wxScrollBar* bar);