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:
Robin Dunn
2010-11-11 00:08:20 +00:00
parent 3122bf4f1f
commit ab37739a9b
38 changed files with 18652 additions and 0 deletions

3
src/README.txt Normal file
View 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
View File

@@ -0,0 +1,3 @@
from _core import *

31
src/string.sip Normal file
View 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
View File

@@ -0,0 +1,4 @@
#include "wx/msw/wx.rc"