From 8cddee2d0ec042b15e633944a0c30dae77357175 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 22 Feb 2012 13:41:07 +0000 Subject: [PATCH] Fix spelling in the documentation. Closes #14034. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/event.h | 2 +- interface/wx/grid.h | 4 ++-- interface/wx/hashmap.h | 2 +- interface/wx/infobar.h | 2 +- interface/wx/mediactrl.h | 4 ++-- interface/wx/propgrid/property.h | 2 +- interface/wx/ribbon/art.h | 2 +- interface/wx/ribbon/buttonbar.h | 6 +++--- interface/wx/uri.h | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/interface/wx/event.h b/interface/wx/event.h index 4f6000239b..dce4ea1d60 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -2693,7 +2693,7 @@ public: wxClientData* GetClientObject() const; /** - Returns extra information dependant on the event objects type. + Returns extra information dependent on the event objects type. If the event comes from a listbox selection, it is a boolean determining whether the event was a selection (@true) or a diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 6ba13bed3b..18c22a4160 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -265,7 +265,7 @@ public: /** The parameters string format is "width[,precision[,format]]" where - @c format should be choosen beween f|e|g|E|G (f is used by default) + @c format should be chosen between f|e|g|E|G (f is used by default) */ virtual void SetParameters(const wxString& params); @@ -656,7 +656,7 @@ public: /** The parameters string format is "width[,precision[,format]]" where - @c format should be choosen beween f|e|g|E|G (f is used by default) + @c format should be chosen between f|e|g|E|G (f is used by default) */ virtual void SetParameters(const wxString& params); }; diff --git a/interface/wx/hashmap.h b/interface/wx/hashmap.h index 6364471596..b7554e815b 100644 --- a/interface/wx/hashmap.h +++ b/interface/wx/hashmap.h @@ -11,7 +11,7 @@ This is a simple, type-safe, and reasonably efficient hash map class, whose interface is a subset of the interface of STL containers. - In particular, the interface is modeled after std::map, and the various, + In particular, the interface is modelled after std::map, and the various, non-standard, std::hash_map (http://www.cppreference.com/wiki/stl/map/start). Example: diff --git a/interface/wx/infobar.h b/interface/wx/infobar.h index 322548f14b..19d737cf5e 100644 --- a/interface/wx/infobar.h +++ b/interface/wx/infobar.h @@ -52,7 +52,7 @@ void MyFrame::SomeMethod() { - m_infoBar->ShowMessage("Something happend", wxICON_INFORMATION); + m_infoBar->ShowMessage("Something happened", wxICON_INFORMATION); } @endcode diff --git a/interface/wx/mediactrl.h b/interface/wx/mediactrl.h index d88994e2ae..d7b6519fe3 100644 --- a/interface/wx/mediactrl.h +++ b/interface/wx/mediactrl.h @@ -85,7 +85,7 @@ public: want to render, catch the @c EVT_MEDIA_LOADED event, and then call Play() to show the video/audio of the media in that event. - More complex operations are generally more heavily dependant on the capabilities + More complex operations are generally more heavily dependent on the capabilities of the backend. For example, QuickTime cannot set the playback rate of certain streaming media - while DirectShow is slightly more flexible in that regard. @@ -337,7 +337,7 @@ public: /** Loads the location that uri refers to. Note that this is very - implementation-dependant, although HTTP URI/URLs are generally + implementation-dependent, although HTTP URI/URLs are generally supported, for example. Returns @false if loading fails. */ bool Load(const wxURI& uri); diff --git a/interface/wx/propgrid/property.h b/interface/wx/propgrid/property.h index 6d2b249687..7c68512a23 100644 --- a/interface/wx/propgrid/property.h +++ b/interface/wx/propgrid/property.h @@ -517,7 +517,7 @@ wxPG_PROP_BEING_DELETED = 0x00200000 wxDateTime property. Default editor is DatePickerCtrl, although TextCtrl should work as well. wxPG_DATE_FORMAT attribute can be used to change string wxDateTime::Format uses (although default is recommended as it is - locale-dependant), and wxPG_DATE_PICKER_STYLE allows changing window + locale-dependent), and wxPG_DATE_PICKER_STYLE allows changing window style given to DatePickerCtrl (default is wxDP_DEFAULT|wxDP_SHOWCENTURY). Using wxDP_ALLOWNONE will enable better unspecified value support. diff --git a/interface/wx/ribbon/art.h b/interface/wx/ribbon/art.h index 13bad04d94..d33de73479 100644 --- a/interface/wx/ribbon/art.h +++ b/interface/wx/ribbon/art.h @@ -301,7 +301,7 @@ public: default colours of the art provider. Note that if SetColour() is called, then GetColourScheme() does not try and return a colour scheme similar to colours being used - it's return - values are dependant upon the last values given to SetColourScheme(), + values are dependent upon the last values given to SetColourScheme(), as described above. @param[out] primary diff --git a/interface/wx/ribbon/buttonbar.h b/interface/wx/ribbon/buttonbar.h index cee957c25f..e7e80e806a 100644 --- a/interface/wx/ribbon/buttonbar.h +++ b/interface/wx/ribbon/buttonbar.h @@ -20,19 +20,19 @@ enum wxRibbonButtonBarButtonState { /** - Button is small (the interpretation of small is dependant upon the art + Button is small (the interpretation of small is dependent upon the art provider, but it will be smaller than medium). */ wxRIBBON_BUTTONBAR_BUTTON_SMALL = 0 << 0, /** - Button is medium sized (the interpretation of medium is dependant upon + Button is medium sized (the interpretation of medium is dependent upon the art provider, but it will be between small and large). */ wxRIBBON_BUTTONBAR_BUTTON_MEDIUM = 1 << 0, /** - Button is large (the interpretation of large is dependant upon the art + Button is large (the interpretation of large is dependent upon the art provider, but it will be larger than medium). */ wxRIBBON_BUTTONBAR_BUTTON_LARGE = 2 << 0, diff --git a/interface/wx/uri.h b/interface/wx/uri.h index 2df4eb6954..629f40b0d5 100644 --- a/interface/wx/uri.h +++ b/interface/wx/uri.h @@ -49,7 +49,7 @@ enum wxURIHostType @endcode @note On URIs with a "file" scheme wxURI does not parse the userinfo, - server, or port portion. This is to keep compatability with + server, or port portion. This is to keep compatibility with wxFileSystem, the old wxURL, and older url specifications. @library{wxbase} -- 2.45.2