mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
initial commit of experimental Phoenix code
git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
3
src/README.txt
Normal file
3
src/README.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
This directory holds source code that is not generated by any of the tools,
|
||||
but is edited by hand instead. It may include C/C++, SIP or Python code as
|
||||
needed.
|
||||
3
src/__init__.py
Normal file
3
src/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
from _core import *
|
||||
31
src/string.sip
Normal file
31
src/string.sip
Normal file
@@ -0,0 +1,31 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: string.sip
|
||||
// Purpose: Implements a %MappedType for wxString
|
||||
//
|
||||
// Author: Robin Dunn
|
||||
//
|
||||
// Created: 9-Nov-2010
|
||||
// RCS-ID: $Id:$
|
||||
// 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
|
||||
|
||||
};
|
||||
4
src/wxc.rc
Normal file
4
src/wxc.rc
Normal file
@@ -0,0 +1,4 @@
|
||||
#include "wx/msw/wx.rc"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user