Fix spelling of occur* in random files.

This commit is contained in:
Lauri Nurmi
2014-05-14 22:50:39 +03:00
parent 29eb2a71c0
commit 8a2ccd9cf7
4 changed files with 6 additions and 6 deletions

View File

@@ -182,7 +182,7 @@ main ()
echo "*** If you have an old version installed, it is best to remove it, although" echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the" [ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."]) echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."])
CFLAGS="$ac_save_CFLAGS" CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS" LIBS="$ac_save_LIBS"
fi fi

View File

@@ -2551,7 +2551,7 @@ public:
{ } { }
/** /**
Returns the buffer position at which the event occured. Returns the buffer position at which the event occurred.
*/ */
long GetPosition() const { return m_position; } long GetPosition() const { return m_position; }

View File

@@ -2123,7 +2123,7 @@ void wxPropertyGridPageState::DoDelete( wxPGProperty* item, bool doDelete )
pg->m_deletedProperties.RemoveAt(index); pg->m_deletedProperties.RemoveAt(index);
} }
wxASSERT_MSG( pg->m_deletedProperties.Index(item) == wxNOT_FOUND, wxASSERT_MSG( pg->m_deletedProperties.Index(item) == wxNOT_FOUND,
wxT("Too many occurences of the item")); wxT("Too many occurrences of the item"));
index = pg->m_removedProperties.Index(item); index = pg->m_removedProperties.Index(item);
if ( index != wxNOT_FOUND ) if ( index != wxNOT_FOUND )
@@ -2131,7 +2131,7 @@ void wxPropertyGridPageState::DoDelete( wxPGProperty* item, bool doDelete )
pg->m_removedProperties.RemoveAt(index); pg->m_removedProperties.RemoveAt(index);
} }
wxASSERT_MSG( pg->m_removedProperties.Index(item) == wxNOT_FOUND, wxASSERT_MSG( pg->m_removedProperties.Index(item) == wxNOT_FOUND,
wxT("Too many occurences of the item")); wxT("Too many occurrences of the item"));
delete item; delete item;
} }
@@ -2144,7 +2144,7 @@ void wxPropertyGridPageState::DoDelete( wxPGProperty* item, bool doDelete )
pg->m_removedProperties.RemoveAt(index); pg->m_removedProperties.RemoveAt(index);
} }
wxASSERT_MSG( pg->m_removedProperties.Index(item) == wxNOT_FOUND, wxASSERT_MSG( pg->m_removedProperties.Index(item) == wxNOT_FOUND,
wxT("Too many occurences of the item")); wxT("Too many occurrences of the item"));
item->OnDetached(this, pg); item->OnDetached(this, pg);
} }

View File

@@ -508,7 +508,7 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
} }
case SelectionRequest: case SelectionRequest:
{ {
// A request to paste has occured. // A request to paste has occurred.
wxClipboardHandleSelectionRequest(*event); wxClipboardHandleSelectionRequest(*event);
// The event handle doesn't care the clipboard // The event handle doesn't care the clipboard
// how to response requestor, so just return true. // how to response requestor, so just return true.