From: Vadim Zeitlin Date: Wed, 1 Aug 2012 22:05:48 +0000 (+0000) Subject: No changes, just fix typos in comments in wxOSX files. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3d167787c003a864543b19bf8f370fff2a57e51a?hp=7740f1c7c9d0e01c96570841afcc4ee04b2329fd 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 --- diff --git a/src/osx/carbon/dataview.cpp b/src/osx/carbon/dataview.cpp index b629161a5b..db4326848c 100644 --- a/src/osx/carbon/dataview.cpp +++ b/src/osx/carbon/dataview.cpp @@ -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); diff --git a/src/osx/carbon/icon.cpp b/src/osx/carbon/icon.cpp index 5afbf3c67b..9e2fe589ee 100644 --- a/src/osx/carbon/icon.cpp +++ b/src/osx/carbon/icon.cpp @@ -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; } diff --git a/src/osx/carbon/mimetmac.cpp b/src/osx/carbon/mimetmac.cpp index 3e23d60875..38ce5f85d6 100644 --- a/src/osx/carbon/mimetmac.cpp +++ b/src/osx/carbon/mimetmac.cpp @@ -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 diff --git a/src/osx/carbon/slider.cpp b/src/osx/carbon/slider.cpp index 3076376622..ad2bc14334 100644 --- a/src/osx/carbon/slider.cpp +++ b/src/osx/carbon/slider.cpp @@ -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; diff --git a/src/osx/carbon/taskbar.cpp b/src/osx/carbon/taskbar.cpp index 0d432c8510..916ff9ccc3 100644 --- a/src/osx/carbon/taskbar.cpp +++ b/src/osx/carbon/taskbar.cpp @@ -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)) diff --git a/src/osx/carbon/thread.cpp b/src/osx/carbon/thread.cpp index 429bf44ee4..9b2573b6c0 100644 --- a/src/osx/carbon/thread.cpp +++ b/src/osx/carbon/thread.cpp @@ -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; } diff --git a/src/osx/carbon/toolbar.cpp b/src/osx/carbon/toolbar.cpp index 0f3944c373..093c703000 100644 --- a/src/osx/carbon/toolbar.cpp +++ b/src/osx/carbon/toolbar.cpp @@ -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 ); diff --git a/src/osx/core/hid.cpp b/src/osx/core/hid.cpp index d9ebf8b2fe..f09912422c 100644 --- a/src/osx/core/hid.cpp +++ b/src/osx/core/hid.cpp @@ -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 ) diff --git a/src/osx/core/hidjoystick.cpp b/src/osx/core/hidjoystick.cpp index 51ddae0743..fcc0889e90 100644 --- a/src/osx/core/hidjoystick.cpp +++ b/src/osx/core/hidjoystick.cpp @@ -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 diff --git a/src/osx/core/mimetype.cpp b/src/osx/core/mimetype.cpp index 4910f30ad4..408933a98a 100644 --- a/src/osx/core/mimetype.cpp +++ b/src/osx/core/mimetype.cpp @@ -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