Platform Property Example 1 1 0 0 0 0 0 wxGROW|wxALIGN_CENTER_VERTICAL|wxALL 5 500,150 You can specify certain nodes of an XRC file to only be used for a certain platform.\n\nTo do this, there is a "platform" property that can be placed in any node [ie inside an opening tag]. The value of the tag can be any combination of the following: mac, win, unix, or os2. Use a | symbol between multiple platforms, for example <label platform="win|mac">\n\nAt runtime, if there is a platform property in the tag, if it matches the current operating system, that node will be included, otherwise it won't.\n\nThe notebook example below shows how you can specify a high level node to only appear on a certain platform: the example here being a page of preferences that only make sense on a certain platform.\n\nThe second example shows how to replace a single attribute of a control: here the label of a download link. It is also very useful for specifying menu item accelerators keystrokes on the target platform. wxGROW|wxALIGN_CENTER_VERTICAL|wxALL 5 1 200,160 wxVERTICAL wxALIGN_CENTRE|wxALL 5 wxVERTICAL wxALIGN_CENTRE|wxALL 5 wxVERTICAL wxALIGN_CENTRE|wxALL 5 wxVERTICAL wxALIGN_CENTRE|wxALL 5 wxVERTICAL wxALIGN_CENTRE|wxALL 5 wxALIGN_CENTRE|wxALL 5 wxALIGN_CENTRE|wxALL 5 wxALIGN_CENTRE|wxALL 5 wxALIGN_CENTRE|wxALL 5 wxALIGN_CENTRE|wxALL 5