From 2392a466b2502d10c4433f7fe958e17890d75249 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 29 Dec 2012 20:15:44 +0000 Subject: [PATCH] Spelling fixes in comments in wxOSX. No real changes. Closes #14932. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/textctrl.cpp | 2 +- src/osx/cocoa/nonownedwnd.mm | 2 +- src/osx/core/hidjoystick.cpp | 2 +- src/osx/slider_osx.cpp | 2 +- src/osx/window_osx.cpp | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/osx/carbon/textctrl.cpp b/src/osx/carbon/textctrl.cpp index 267680fca8..04cb4c5d10 100644 --- a/src/osx/carbon/textctrl.cpp +++ b/src/osx/carbon/textctrl.cpp @@ -434,7 +434,7 @@ static pascal OSStatus wxMacUnicodeTextControlControlEventHandler( EventHandlerC ControlPartCode controlPart = cEvent.GetParameter(kEventParamControlPart , typeControlPartCode ); if ( controlPart == kControlFocusNoPart ) { - // about to loose focus -> store selection to field + // about to lose focus -> store selection to field focus->GetData( 0, kControlEditTextSelectionTag, &focus->m_selection ); } result = CallNextEventHandler(handler,event) ; diff --git a/src/osx/cocoa/nonownedwnd.mm b/src/osx/cocoa/nonownedwnd.mm index 103f97a7e3..751dc10f73 100644 --- a/src/osx/cocoa/nonownedwnd.mm +++ b/src/osx/cocoa/nonownedwnd.mm @@ -450,7 +450,7 @@ extern int wxOSXGetIdFromSelector(SEL action ); if ( wxpeer ) { wxpeer->HandleActivated(0, false); - // as for wx the deactivation also means loosing focus we + // as for wx the deactivation also means losing focus we // must trigger this manually [window makeFirstResponder:nil]; diff --git a/src/osx/core/hidjoystick.cpp b/src/osx/core/hidjoystick.cpp index fcc0889e90..f9f6cb8af0 100644 --- a/src/osx/core/hidjoystick.cpp +++ b/src/osx/core/hidjoystick.cpp @@ -566,7 +566,7 @@ void wxHIDJoystick::BuildCookies(CFArrayRef Array) // // I wasted two hours of my life on this line :( - // accidently removed it during some source cleaning... + // accidentally removed it during some source cleaning... // MakeCookies(Array); diff --git a/src/osx/slider_osx.cpp b/src/osx/slider_osx.cpp index 02c964e74a..f532b5691b 100644 --- a/src/osx/slider_osx.cpp +++ b/src/osx/slider_osx.cpp @@ -489,7 +489,7 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags) if (GetWindowStyle() & wxSL_LABELS) { - // make sure we don't allow the entire control to be resized accidently + // make sure we don't allow the entire control to be resized accidentally if (width == GetSize().x) m_minWidth = -1; } diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 6e941b3166..465c1036f9 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -387,7 +387,7 @@ bool wxWindowMac::MacIsUserPane() const /* * Right now we have the following setup : * a border that is not part of the native control is always outside the - * control's border (otherwise we loose all native intelligence, future ways + * control's border (otherwise we lose all native intelligence, future ways * may be to have a second embedding control responsible for drawing borders * and backgrounds eventually) * so all this border calculations have to be taken into account when calling @@ -2876,4 +2876,4 @@ bool wxWidgetImpl::NeedsFrame() const void wxWidgetImpl::SetDrawingEnabled(bool WXUNUSED(enabled)) { -} \ No newline at end of file +} -- 2.47.2