Skip to content

Commit e9cc393

Browse files
author
grammarian
committed
- Fix spelling mistakes
git-svn-id: https://svn.code.sf.net/p/objectlistview/code/cs/trunk@812 0bec5ed8-b53f-49e6-9885-ce7bc93af311
1 parent ad44a9d commit e9cc393

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

ObjectListView/SubControls/GlassPanelForm.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* v2.4
1111
* 2010-03-11 JPP - Work correctly in MDI applications -- more or less. Actually, less than more.
1212
* They don't crash but they don't correctly handle overlapping MDI children.
13-
* Overlays from one control are shown on top of other other windows.
13+
* Overlays from one control are shown on top of the other windows.
1414
* 2010-03-09 JPP - Correctly Unbind() when the related ObjectListView is disposed.
1515
* 2009-10-28 JPP - Use FindForm() rather than TopMostControl, since the latter doesn't work
1616
* as I expected when the OLV is part of an MDI child window. Thanks to
@@ -126,7 +126,7 @@ public void Bind(ObjectListView olv, IOverlay overlay) {
126126
this.objectListView.VisibleChanged += new EventHandler(objectListView_VisibleChanged);
127127
this.objectListView.ParentChanged += new EventHandler(objectListView_ParentChanged);
128128

129-
// Collect our ancestors in the widget hierachy
129+
// Collect our ancestors in the widget hierarchy
130130
if (this.ancestors == null)
131131
this.ancestors = new List<Control>();
132132
Control parent = this.objectListView.Parent;
@@ -135,7 +135,7 @@ public void Bind(ObjectListView olv, IOverlay overlay) {
135135
parent = parent.Parent;
136136
}
137137

138-
// Listen for changes in the hierachy
138+
// Listen for changes in the hierarchy
139139
foreach (Control ancestor in this.ancestors) {
140140
ancestor.ParentChanged += new EventHandler(objectListView_ParentChanged);
141141
TabControl tabControl = ancestor as TabControl;

ObjectListView/SubControls/HeaderControl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public Rectangle GetItemRect(int itemIndex) {
352352
public Rectangle GetHeaderDrawRect(int itemIndex) {
353353
Rectangle r = this.GetItemRect(itemIndex);
354354

355-
// Tweak the text rectangle a little to improve aethestics
355+
// Tweak the text rectangle a little to improve aesthetics
356356
r.Inflate(-3, 0);
357357
r.Y -= 2;
358358

@@ -731,7 +731,7 @@ protected bool HandleDestroy(ref Message m) {
731731
/// <summary>
732732
/// Does this header need to be custom drawn?
733733
/// </summary>
734-
/// <remarks>Word wrapping and colored text require custom drawning. Funnily enough, we
734+
/// <remarks>Word wrapping and colored text require custom drawing. Funnily enough, we
735735
/// can change the font natively.</remarks>
736736
protected bool NeedsCustomDraw() {
737737
if (this.WordWrap)

ObjectListView/SubControls/ToolTipControl.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ internal int WindowStyle {
173173
}
174174

175175
/// <summary>
176-
/// Get or set if the tooltip should be shown as a ballon
176+
/// Get or set if the tooltip should be shown as a balloon
177177
/// </summary>
178178
public bool IsBalloon {
179179
get {
@@ -186,7 +186,7 @@ public bool IsBalloon {
186186
int windowStyle = this.WindowStyle;
187187
if (value) {
188188
windowStyle |= (TTS_BALLOON | TTS_USEVISUALSTYLE);
189-
// On XP, a border makes the ballon look wrong
189+
// On XP, a border makes the balloon look wrong
190190
if (!ObjectListView.IsVistaOrLater)
191191
windowStyle &= ~WS_BORDER;
192192
} else {
@@ -203,7 +203,7 @@ public bool IsBalloon {
203203
}
204204

205205
/// <summary>
206-
/// Get or set if the tooltip should be shown as a ballon
206+
/// Get or set if the tooltip should be shown as a balloon
207207
/// </summary>
208208
public bool HasBorder {
209209
get {
@@ -377,7 +377,7 @@ public void Create(IntPtr parentHandle) {
377377

378378
/// <summary>
379379
/// Take a copy of the current settings and restore them when the
380-
/// tooltip is poppped.
380+
/// tooltip is popped.
381381
/// </summary>
382382
/// <remarks>
383383
/// This call cannot be nested. Subsequent calls to this method will be ignored

0 commit comments

Comments
 (0)