.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc



.. _wx.PlatformId:

==========================================================================================================================================
|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. 





         



.. versionadded:: 4.1/wxWidgets-3.1.5  
     







|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>PlatformId</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.PlatformId_inheritance.svg" alt="Inheritance diagram of PlatformId" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.PlatformId.html" title="Defines a very broad platform categorization." alt="" coords="5,5,130,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|api| Class API
===============


.. class:: wx.PlatformId(object)

   Defines a very broad platform categorization.


