From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Wed, 3 Sep 2008 20:36:54 +0000 (+0000) Subject: fix some typos and other minor problems (#9886) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fac938f8fdf4d0b644e94d3f3f76c5db6aeac348 fix some typos and other minor problems (#9886) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/app.h b/interface/wx/app.h index 60f7ff619e..4fea75c14b 100644 --- a/interface/wx/app.h +++ b/interface/wx/app.h @@ -107,7 +107,7 @@ public: /** Returns the one and only global application object. - Usually ::wxTheApp is usead instead. + Usually wxTheApp is used instead. @see SetInstance() */ diff --git a/interface/wx/datetime.h b/interface/wx/datetime.h index c33ec22fb5..457d36fb3b 100644 --- a/interface/wx/datetime.h +++ b/interface/wx/datetime.h @@ -1202,10 +1202,10 @@ public: /** Returns the @e "Modified Julian Day Number" (MJD) which is, by - definition, is equal to JDN - 2400000.5. The MJDs are simpler to work - with as the integral MJDs correspond to midnights of the dates in the - Gregorian calendar and not the noons like JDN. The MJD 0 represents - Nov 17, 1858. + definition, is equal to JDN - 2400000.5. + The MJDs are simpler to work with as the integral MJDs correspond to + midnights of the dates in the Gregorian calendar and not the noons like + JDN. The MJD 0 represents Nov 17, 1858. */ double GetModifiedJulianDayNumber() const; @@ -1410,7 +1410,7 @@ public: NameFlags flags = Name_Full); /** - Returns @true if DST was used n the given year (the current one by + Returns @true if DST was used in the given year (the current one by default) in the given country. */ static bool IsDSTApplicable(int year = Inv_Year, diff --git a/interface/wx/dnd.h b/interface/wx/dnd.h index 3cd15b3ef5..8a436fd53d 100644 --- a/interface/wx/dnd.h +++ b/interface/wx/dnd.h @@ -264,7 +264,7 @@ public: @true if the window is scrolling. MSW only. @return @false if you want default feedback, or @true if you implement - your own feedback. The return values is ignored under GTK. + your own feedback. The return value is ignored under GTK. */ virtual bool GiveFeedback(wxDragResult effect); diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index 0bd0c7cf0b..344c5f205e 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -302,7 +302,7 @@ public: void SetSpacer(const wxSize& size); /** - Set the window to be tracked by thsi item. + Set the window to be tracked by this item. */ void SetWindow(wxWindow* window); diff --git a/interface/wx/string.h b/interface/wx/string.h index 597f14fef1..69044521b3 100644 --- a/interface/wx/string.h +++ b/interface/wx/string.h @@ -818,14 +818,16 @@ public: wxString& MakeCapitalized(); /** - Converts all characters to lower case and returns the result. + Converts all characters to lower case and returns the reference to the + modified string. @see Lower() */ wxString& MakeLower(); /** - Converts all characters to upper case and returns the result. + Converts all characters to upper case and returns the reference to the + modified string. @see Upper() */ diff --git a/interface/wx/xrc/xmlres.h b/interface/wx/xrc/xmlres.h index 6179eb4b01..a680dd78a5 100644 --- a/interface/wx/xrc/xmlres.h +++ b/interface/wx/xrc/xmlres.h @@ -79,7 +79,7 @@ public: /** Compares the XRC version to the argument. Returns -1 if the XRC version - is less than the argument, +1 if greater, and 0 if they equal. + is less than the argument, +1 if greater, and 0 if they are equal. */ int CompareVersion(int major, int minor, int release, int revision) const;