phoenix_title wx.PlatformId

Defines a very broad platform categorization.

Usually you would use PlatformInfo to get all the platform details rather than this class which only distinguishes between MSW, Mac and Unix platforms.

This class is mostly useful if a short string describing the platform corresponds to the current platform, i.e. the platform under which the executable runs. The recognized strings are:

  • “msw” (preferred) or “win” (for compatibility) for MSW.

  • “mac” for Apple systems, i.e. macOS and iOS.

  • “unix” for the (other) Unix-like systems.

New in version 4.1/wxWidgets-3.1.5.


class_hierarchy Class Hierarchy

Inheritance diagram for class PlatformId:

api Class API

class wx.PlatformId(object)

Defines a very broad platform categorization.