]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix some typos in the comments in wxOSX code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Sep 2012 16:03:34 +0000 (16:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Sep 2012 16:03:34 +0000 (16:03 +0000)
Closes #14636.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/dataview.mm
src/osx/cocoa/menu.mm
src/osx/cocoa/nonownedwnd.mm

index 4787a023c22513b96db585819cc3c9d3f81ed6bd..2e195d0317756665eebab6339814c17081b012e7 100644 (file)
@@ -753,7 +753,7 @@ outlineView:(NSOutlineView*)outlineView
 
     // send first the event to wxWidgets that the sorting has changed so that
     // the program can do special actions before the sorting actually starts:
-    wxDataViewEvent event(wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED,dvc->GetId()); // variable defintion
+    wxDataViewEvent event(wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED,dvc->GetId()); // variable definition
 
     event.SetEventObject(dvc);
     if (noOfDescriptors > 0)
index a252e9ce3a8848865b10c829fd1dc626557b44f3..760f159263c302440136f66ee3c13eba694b9df6 100644 (file)
@@ -166,7 +166,7 @@ public :
     virtual void InsertOrAppend(wxMenuItem *pItem, size_t pos)
     {
         NSMenuItem* nsmenuitem = (NSMenuItem*) pItem->GetPeer()->GetHMenuItem();
-        // make sure a call of SetSubMenu is also reflected (occuring after Create)
+        // make sure a call of SetSubMenu is also reflected (occurring after Create)
         // update the native menu item accordingly
         
         if ( pItem->IsSubMenu() )
index 76f14712b95e554113740cc1d07c31285f3e8ade..7f73ffed916ecec4a2a79ceba9417cc001716e00 100644 (file)
@@ -111,7 +111,7 @@ bool shouldHandleSelector(SEL selector)
     return (wxNonOwnedWindowCocoaImpl*) wxNonOwnedWindowImpl::FindFromWXWindow( self );
 }
 
-// TODO in cocoa everything during a drag is sent to the NSWindow the mouse down occured, 
+// TODO in cocoa everything during a drag is sent to the NSWindow the mouse down occurred,
 // this does not conform to the wx behaviour if the window is not captured, so try to resend
 // or capture all wx mouse event handling at the tlw as we did for carbon