From f090e4ef6753479f3c3d2ea3ec1f692241540d65 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 23 Feb 2012 13:56:10 +0000 Subject: [PATCH 1/1] No real changes, just fix spelling errors in the documentation. Closes #14038. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/bitmap.h | 2 +- interface/wx/filesys.h | 2 +- interface/wx/init.h | 2 +- interface/wx/intl.h | 2 +- interface/wx/list.h | 4 ++-- interface/wx/propgrid/manager.h | 2 +- interface/wx/ribbon/toolbar.h | 4 ++-- interface/wx/richtext/richtextctrl.h | 2 +- interface/wx/sharedptr.h | 2 +- interface/wx/sizer.h | 2 +- interface/wx/webviewarchivehandler.h | 4 ++-- interface/wx/xml/xml.h | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/interface/wx/bitmap.h b/interface/wx/bitmap.h index cf62947f78..2edeee959f 100644 --- a/interface/wx/bitmap.h +++ b/interface/wx/bitmap.h @@ -165,7 +165,7 @@ public: If you need direct access the bitmap data instead going through drawing to it using wxMemoryDC you need to use the wxPixelData class (either wxNativePixelData for RGB bitmaps or wxAlphaPixelData - for bitmaps with an additionaly alpha channel). + for bitmaps with an additionally alpha channel). Note that many wxBitmap functions take a @e type parameter, which is a value of the ::wxBitmapType enumeration. diff --git a/interface/wx/filesys.h b/interface/wx/filesys.h index 01e5fd12fe..0fb4383841 100644 --- a/interface/wx/filesys.h +++ b/interface/wx/filesys.h @@ -243,7 +243,7 @@ public: /** Detaches the stream from the wxFSFile object. That is, the - stream obtained with GetStream() will continue its existance + stream obtained with GetStream() will continue its existence after the wxFSFile object is deleted. You will have to delete the stream yourself. diff --git a/interface/wx/init.h b/interface/wx/init.h index 163e5f7252..a673a0b7e0 100644 --- a/interface/wx/init.h +++ b/interface/wx/init.h @@ -51,7 +51,7 @@ public: If the function returns true, the initialization was successful and the global wxApp object ::wxTheApp has been created. Moreover, wxEntryCleanup() must be called afterwards. If the function returns false, a catastrophic - initialization error occured and (at least the GUI part of) the library + initialization error occurred and (at least the GUI part of) the library can't be used at all. Notice that parameters @c argc and @c argv may be modified by this diff --git a/interface/wx/intl.h b/interface/wx/intl.h index 4dfa97b8af..85264edfdf 100644 --- a/interface/wx/intl.h +++ b/interface/wx/intl.h @@ -19,7 +19,7 @@ enum wxLayoutDirection }; /** - Encapsulates a ::wxLanguage indentifier together with OS-specific information + Encapsulates a ::wxLanguage identifier together with OS-specific information related to that language. @beginWxPerlOnly diff --git a/interface/wx/list.h b/interface/wx/list.h index 32d115cf96..7d2f566c63 100644 --- a/interface/wx/list.h +++ b/interface/wx/list.h @@ -155,7 +155,7 @@ public: void Erase(const compatibility_iterator& iter); /** - Returns the iterator refering to @a object or @NULL if none found. + Returns the iterator referring to @a object or @NULL if none found. */ wxList::compatibility_iterator Find(T* object) const; @@ -203,7 +203,7 @@ public: bool IsEmpty() const; /** - Returns the iterator refering to the object at the given + Returns the iterator referring to the object at the given @a index in the list. */ wxList::compatibility_iterator Item(size_t index) const; diff --git a/interface/wx/propgrid/manager.h b/interface/wx/propgrid/manager.h index 7affc2818d..7b5df8516a 100644 --- a/interface/wx/propgrid/manager.h +++ b/interface/wx/propgrid/manager.h @@ -147,7 +147,7 @@ public: acquire the internal grid (GetGrid()) or wxPropertyGridPage object (GetPage()). wxPropertyGridManager constructor has exact same format as wxPropertyGrid - constructor, and basicly accepts same extra window style flags (albeit also + constructor, and basically accepts same extra window style flags (albeit also has some extra ones). Here's some example code for creating and populating a wxPropertyGridManager: diff --git a/interface/wx/ribbon/toolbar.h b/interface/wx/ribbon/toolbar.h index 3ab156b770..4cc0638776 100644 --- a/interface/wx/ribbon/toolbar.h +++ b/interface/wx/ribbon/toolbar.h @@ -218,7 +218,7 @@ public: @param pos Position of the new tool (number of tools and separators from the - begining of the toolbar). + beginning of the toolbar). @param tool_id ID of the new tool (used for event callbacks). @param bitmap @@ -284,7 +284,7 @@ public: /** This function behaves like DeleteTool() but it deletes the tool at the specified position and not the one with the given id. - Usefull to delete separators. + Useful to delete separators. @since 2.9.4 */ diff --git a/interface/wx/richtext/richtextctrl.h b/interface/wx/richtext/richtextctrl.h index 7cbe45a4d1..c6ad67f802 100644 --- a/interface/wx/richtext/richtextctrl.h +++ b/interface/wx/richtext/richtextctrl.h @@ -2247,7 +2247,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; } diff --git a/interface/wx/sharedptr.h b/interface/wx/sharedptr.h index 47b73c0d60..92e94a8759 100644 --- a/interface/wx/sharedptr.h +++ b/interface/wx/sharedptr.h @@ -9,7 +9,7 @@ /** A smart pointer with non-intrusive reference counting. - It is modeled after @c boost::shared_ptr<> and can be used with STL + It is modelled after @c boost::shared_ptr<> and can be used with STL containers and wxVector unlike @c std::auto_ptr<> and wxScopedPtr. @library{wxbase} diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index 95a6f7599c..7bc97a6e78 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -410,7 +410,7 @@ public: /** Inform sizer about the first direction that has been decided (by - parent item). Returns true if it made use of the informtion (and + parent item). Returns true if it made use of the information (and recalculated min size). */ virtual bool InformFirstDirection(int direction, int size, int availableOtherDir); diff --git a/interface/wx/webviewarchivehandler.h b/interface/wx/webviewarchivehandler.h index bb854754a3..977c60494e 100644 --- a/interface/wx/webviewarchivehandler.h +++ b/interface/wx/webviewarchivehandler.h @@ -12,7 +12,7 @@ A custom handler for the file scheme which also supports loading from archives. The syntax for wxWebViewArchiveHandler differs from virtual file systems in the rest of wxWidgets by using a syntax such as - scheme:///C:/exmaple/docs.zip;protocol=zip/main.htm + scheme:///C:/example/docs.zip;protocol=zip/main.htm Currently the only supported protocol is @c zip. @since 2.9.3 @@ -29,4 +29,4 @@ public: */ wxWebViewArchiveHandler(const wxString& scheme); virtual wxFSFile* GetFile(const wxString &uri); -}; \ No newline at end of file +}; diff --git a/interface/wx/xml/xml.h b/interface/wx/xml/xml.h index 8605491dd1..7bb23cd54b 100644 --- a/interface/wx/xml/xml.h +++ b/interface/wx/xml/xml.h @@ -581,7 +581,7 @@ public: any prologue nodes, but IsOk() will return @false since the root entity will be missing. - Note that the caller is reponsible for deleting the returned node in order + Note that the caller is responsible for deleting the returned node in order to avoid memory leaks. */ wxXmlNode* DetachRoot(); -- 2.45.2