Olly Betts' typo patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-31 09:29:22 +00:00
parent 3103e8a97e
commit d69225772a
31 changed files with 81 additions and 81 deletions

View File

@@ -1398,7 +1398,7 @@ void wxTreeListHeaderWindow::OnMouse( wxMouseEvent &event )
// end of the current column
int xpos = 0;
// find the column where this event occured
// find the column where this event occurred
int countCol = GetColumnCount();
for (int col = 0; col < countCol; col++)
{

View File

@@ -937,7 +937,7 @@ class DemoErrorPanel(wx.Panel):
self.box = wx.BoxSizer(wx.VERTICAL)
# Main Label
self.box.Add(wx.StaticText(self, -1, "An error has occured while trying to run the demo")
self.box.Add(wx.StaticText(self, -1, "An error has occurred while trying to run the demo")
, 0, wx.ALIGN_CENTER | wx.TOP, 10)
# Exception Information
@@ -1404,7 +1404,7 @@ class wxPythonDemo(wx.Frame):
# o The RunTest() for all samples must now return a window that can
# be palced in a tab in the main notebook.
# o If an error occurs (or has occured before) an error tab is created.
# o If an error occurs (or has occurred before) an error tab is created.
if module is not None:
wx.LogMessage("Running demo module...")

View File

@@ -107,7 +107,7 @@ class Adb(bdb.Bdb):
exc_type_name = exc_type
else:
exc_type_name = exc_type.__name__
message = "Exception occured: " + repr(exc_type_name) + " See locals.__exception__ for details."
message = "Exception occurred: " + repr(exc_type_name) + " See locals.__exception__ for details."
traceback.print_exception(exc_type, exc_value, exc_traceback)
self._harness.interaction(message, frame, message)

View File

@@ -1924,7 +1924,7 @@ class IOBuffer:
self.__buf = ''
# A state change is defined as the buffer being closed or a
# write occuring.
# write occurring.
if mutex is not None:
self._mutex = mutex
else:

View File

@@ -343,7 +343,7 @@ public:
wxFileType *GetFileTypeFromMimeType(const wxString& mimeType);
// other operations: return True if there were no errors or False if there
// were some unreckognized entries (the good entries are always read anyhow)
// were some unrecognized entries (the good entries are always read anyhow)
//
// read in additional file (the standard ones are read automatically)

View File

@@ -831,7 +831,7 @@ public:
// Set HTML page and display it. !! source is HTML document itself,
// it is NOT address/filename of HTML document. If you want to
// specify document location, use LoadPage() istead
// Return value : False if an error occured, True otherwise
// Return value : False if an error occurred, True otherwise
bool SetPage(const wxString& source);
// Load HTML page from given location. Location can be either

View File

@@ -1075,7 +1075,7 @@ class FoldPanelBar(wx.Panel):
it is resized. Very handy for sizer items, buttons and
text boxes.
* FPB_ALIGN_LEFT: Alligns left instead of fitting the
* FPB_ALIGN_LEFT: Aligns left instead of fitting the
width of the child window to be added. Use either this
one or FPB_ALIGN_WIDTH.

View File

@@ -295,7 +295,7 @@ class DocMDIParentFrameMixIn:
config = wx.ConfigBase_Get()
if config.ReadInt("MDIFrameMaximized", False):
# wxBug: On maximize, statusbar leaves a residual that needs to be refereshed, happens even when user does it
# wxBug: On maximize, statusbar leaves a residual that needs to be refreshed, happens even when user does it
self.Maximize()
self.CreateEmbeddedWindows(embeddedWindows)

View File

@@ -622,7 +622,7 @@ class XML_Tree(wxTreeCtrl):
g.panel.SetData(xxx)
# Update tools
g.tools.UpdateUI()
# Hightlighting is done in OnIdle
# Highlighting is done in OnIdle
self.pendingHighLight = self.selection
# Check if item is in testWin subtree
@@ -648,7 +648,7 @@ class XML_Tree(wxTreeCtrl):
obj, pos = self.FindNodeObject(item), self.FindNodePos(item)
size = obj.GetSize()
# Highlight
# Nagative positions are not working wuite well
# Negative positions are not working quite well
if g.testWin.highLight:
g.testWin.highLight.Replace(pos, size)
else:
@@ -670,7 +670,7 @@ class XML_Tree(wxTreeCtrl):
if g.testWin: # Reset old
self.SetItemBold(g.testWin.item, False)
self.CreateTestWin(item)
# Maybe an error occured, so we need to test
# Maybe an error occurred, so we need to test
if g.testWin: self.SetItemBold(g.testWin.item)
# Double-click on Linux

View File

@@ -100,7 +100,7 @@ class Frame(wxFrame):
# Load our own resources
self.res = wxXmlResource('')
# !!! Blocking of assert failure occuring in older unicode builds
# !!! Blocking of assert failure occurring in older unicode builds
try:
self.res.Load(os.path.join(basePath, 'xrced.xrc'))
except wx._core.PyAssertionError: