mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
31 lines
831 B
Plaintext
31 lines
831 B
Plaintext
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: string.sip
|
|
// Purpose: Implements a %MappedType for wxString
|
|
//
|
|
// Author: Robin Dunn
|
|
//
|
|
// Created: 9-Nov-2010
|
|
// Copyright: (c) 2010 by Total Control Software
|
|
// Licence: wxWindows license
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
// We don't want the Python user to ever need to deal with wxString, so it
|
|
// will be mapped to and from Python UNicode objects using the code snippets
|
|
// below.
|
|
|
|
%MappedType wxString
|
|
{
|
|
// Code to test a PyObject for compatibility and to convert from a
|
|
// PyObject to a wxString
|
|
%ConvertToTypeCode
|
|
// TODO
|
|
%End
|
|
|
|
// Code to convert a wxString to a PyObject
|
|
%ConvertFromTypeCode
|
|
// TODO
|
|
%End
|
|
|
|
};
|