Fix some typos in the comments in wxOSX code.

Closes #14636.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-09-08 16:03:34 +00:00
parent 71c3620229
commit 58b1ae5e72
3 changed files with 3 additions and 3 deletions

View 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)

View 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() )

View 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