spelling fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
The values of the constants are chosen so that they can be combined as flags;
|
||||
this allows to check for operating system families like e.g. @c wxOS_MAC and @c wxOS_UNIX.
|
||||
|
||||
Note that you can obtain more detailed informations about the current OS
|
||||
Note that you can obtain more detailed information about the current OS
|
||||
version in use by checking the major and minor version numbers returned
|
||||
by ::wxGetOsVersion() or by wxPlatformInfo::GetOSMajorVersion(),
|
||||
wxPlatformInfo::GetOSMinorVersion().
|
||||
@@ -116,7 +116,7 @@ enum wxEndianness
|
||||
};
|
||||
|
||||
/**
|
||||
A structure containing informations about a Linux distribution as returned
|
||||
A structure containing information about a Linux distribution as returned
|
||||
by the @c lsb_release utility.
|
||||
|
||||
See wxGetLinuxDistributionInfo() or wxPlatformInfo::GetLinuxDistributionInfo()
|
||||
@@ -137,18 +137,18 @@ struct wxLinuxDistributionInfo
|
||||
/**
|
||||
@class wxPlatformInfo
|
||||
|
||||
This class holds informations about the operating system, the toolkit and the
|
||||
This class holds information about the operating system, the toolkit and the
|
||||
basic architecture of the machine where the application is currently running.
|
||||
|
||||
This class does not only have @e getters for the informations above, it also has
|
||||
@e setters. This allows you to e.g. save the current platform informations in a
|
||||
This class does not only have @e getters for the information above, it also has
|
||||
@e setters. This allows you to e.g. save the current platform information in a
|
||||
data file (maybe in string form) so that when you later load it, you can easily
|
||||
retrieve (see the static getters for string->enum conversion functions) and store
|
||||
inside a wxPlatformInfo instance (using its setters) the signature of the system
|
||||
which generated it.
|
||||
|
||||
In general however you only need to use the static Get() function and then
|
||||
access the various informations for the current platform:
|
||||
access the various information for the current platform:
|
||||
@code
|
||||
wxLogMessage("This application is running under %s.",
|
||||
wxPlatformInfo::Get().GetOperatingSystemIdName());
|
||||
|
Reference in New Issue
Block a user