]> git.saurik.com Git - wxWidgets.git/commitdiff
Spelling fixes in comments in wxOSX.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Dec 2012 20:15:44 +0000 (20:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 29 Dec 2012 20:15:44 +0000 (20:15 +0000)
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
src/osx/cocoa/nonownedwnd.mm
src/osx/core/hidjoystick.cpp
src/osx/slider_osx.cpp
src/osx/window_osx.cpp

index 267680fca8359837608972bc5cc567eef6833903..04cb4c5d10234f2bd629e49a8865a596717e2f7a 100644 (file)
@@ -434,7 +434,7 @@ static pascal OSStatus wxMacUnicodeTextControlControlEventHandler( EventHandlerC
             ControlPartCode controlPart = cEvent.GetParameter<ControlPartCode>(kEventParamControlPart , typeControlPartCode );
             if ( controlPart == kControlFocusNoPart )
             {
-                // about to loose focus -> store selection to field
+                // about to lose focus -> store selection to field
                 focus->GetData<ControlEditTextSelectionRec>( 0, kControlEditTextSelectionTag, &focus->m_selection );
             }
             result = CallNextEventHandler(handler,event) ;
index 103f97a7e3da0b52e16add3969c4646201f5b9e0..751dc10f73be3bd4cef7b3137722f3462627a8f8 100644 (file)
@@ -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];
             
index fcc0889e901c53c44676f07938da3e140674a1b5..f9f6cb8af044985e7a66f93f1b50e528376c3a53 100644 (file)
@@ -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);
 
index 02c964e74a24ec5332c459928060c10c2a0e6159..f532b5691b6dfd3856ed01870a2241945745cda6 100644 (file)
@@ -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;
     }
index 6e941b3166128301c7359e6fad97461f50dfef51..465c1036f92e9f8d28bbb77acd08849704b7cdce 100644 (file)
@@ -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
+}