No changes, just fix typos in comments in wxOSX files.

Closes #14549, #14552.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-08-01 22:05:48 +00:00
parent 7740f1c7c9
commit 3d167787c0
10 changed files with 12 additions and 12 deletions

View File

@@ -1634,7 +1634,7 @@ void wxMacDataViewDataBrowserListViewControl::DataBrowserItemNotificationProc(Da
{
columnPtr->SetSortOrder(!(columnPtr->IsSortOrderAscending()));
// initialize wxWidget event:
wxDataViewEvent dataViewEvent(wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED,dataViewCtrlPtr->GetId()); // variable defintion
wxDataViewEvent dataViewEvent(wxEVT_COMMAND_DATAVIEW_COLUMN_SORTED,dataViewCtrlPtr->GetId()); // variable definition
dataViewEvent.SetEventObject(dataViewCtrlPtr);
dataViewEvent.SetColumn(columnIndex);

View File

@@ -381,7 +381,7 @@ bool wxIcon::LoadIconFromFile(const wxString& filename, int desiredWidth, int de
if( err == noErr )
{
// If everthing is OK, assign m_refData
// If everything is OK, assign m_refData
m_refData = new wxIconRefData( (WXHICON) iconRef, desiredWidth, desiredHeight );
result = true;
}

View File

@@ -630,7 +630,7 @@ void wxMimeTypesManagerImpl::ClearData()
//
// Q) Iterating through the map - why does it use if (err == noErr) instead of just asserting?
// A) Some intermediate indexes are bad while subsequent ones may be good. Its wierd, I know.
// A) Some intermediate indexes are bad while subsequent ones may be good. Its weird, I know.
//
// extension -> file type

View File

@@ -48,7 +48,7 @@ wxWidgetImplType* wxWidgetImpl::CreateSlider( wxWindowMac* wxpeer,
if ( style & wxSL_AUTOTICKS )
tickMarks = (maximum - minimum) + 1; // +1 for the 0 value
// keep the number of tickmarks from becoming unwieldly, therefore below it is ok to cast
// keep the number of tickmarks from becoming unwieldy, therefore below it is ok to cast
// it to a UInt16
while (tickMarks > 20)
tickMarks /= 5;

View File

@@ -241,7 +241,7 @@ wxDockEventHandler(EventHandlerCallRef WXUNUSED(inHandlerCallRef),
// Performs a top-to-bottom copy of the input menu and all of its
// submenus.
//
// This is mostly needed for 2.4 compatability. However wxPython and others
// This is mostly needed for 2.4 compatibility. However wxPython and others
// still use this way of setting the taskbarmenu.
//-----------------------------------------------------------------------------
wxMenu * wxDeepCopyMenu( wxMenu *menu )
@@ -463,7 +463,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxTaskBarIcon, wxEvtHandler)
//
// Note that we only support DOCK currently as others require cocoa and
// also some require hacks and other such things. (MenuExtras are
// actually seperate programs that also require a special undocumented id
// actually separate programs that also require a special undocumented id
// hack and other such fun stuff).
//-----------------------------------------------------------------------------
wxTaskBarIcon::wxTaskBarIcon(wxTaskBarIconType WXUNUSED_UNLESS_DEBUG(nType))

View File

@@ -664,7 +664,7 @@ bool wxThreadInternal::Create( wxThread *thread, unsigned int stackSize )
OSStatus err = MPCreateQueue( &m_notifyQueueId );
if (err != noErr)
{
wxLogSysError( wxT("Cant create the thread event queue") );
wxLogSysError( wxT("Can't create the thread event queue") );
return false;
}

View File

@@ -1120,7 +1120,7 @@ bool wxToolBar::MacInstallNativeToolbar(bool usesNative)
// which we don't want in this case
wxSize sz = GetParent()->GetSize();
ShowHideWindowToolbar( tlw, true, false );
// Restore the orginal size
// Restore the original size
GetParent()->SetSize( sz );
ChangeWindowAttributes( tlw, kWindowToolbarButtonAttribute, 0 );

View File

@@ -97,7 +97,7 @@ bool wxHIDDevice::Create (int nClass, int nType, int nDev)
CFRelease(pClass);
}
//Now get the maching services
//Now get the matching services
io_iterator_t pIterator;
if( IOServiceGetMatchingServices(m_pPort,
pDictionary, &pIterator) != kIOReturnSuccess )
@@ -261,7 +261,7 @@ size_t wxHIDDevice::GetCount (int nClass, int nType)
CFRelease(pClass);
}
//Now get the maching services
//Now get the matching services
io_iterator_t pIterator;
if( IOServiceGetMatchingServices(pPort,
pDictionary, &pIterator) != kIOReturnSuccess )

View File

@@ -782,7 +782,7 @@ void* wxJoystickThread::Entry()
//
// This is where the REAL dirty work gets done.
//
// 1) Loops through each event the queue has recieved
// 1) Loops through each event the queue has received
// 2) First, checks if the thread that is running the loop for
// the polling has ended - if so it breaks out
// 3) Next, it checks if there was an error getting this event from

View File

@@ -244,7 +244,7 @@ wxMimeTypesManagerImpl::~wxMimeTypesManagerImpl()
// Init / shutdown functions
//
// The Launch Services / UTI API provides no helpful way of getting a list
// of all registered types. Instead the API is focused arround looking up
// of all registered types. Instead the API is focused around looking up
// information for a particular file type once you already have some
// identifying piece of information. In order to get a list of registered
// types it would first be necessary to get a list of all bundles exporting