fixed some paths in build scripts
fixed yesterday's fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10,7 +10,7 @@ set FLAGS=USE_SWIG=1 IN_CVS_TREE=1
|
|||||||
rem Use non-default python?
|
rem Use non-default python?
|
||||||
iff "%1" == "15" .or. "%1" == "20" .or. "%1" == "21" .or. "%1" == "22" then
|
iff "%1" == "15" .or. "%1" == "20" .or. "%1" == "21" .or. "%1" == "22" then
|
||||||
set VER=%1
|
set VER=%1
|
||||||
set PYTHON=d:\tools\python%1%\python.exe
|
set PYTHON=%TOOLS%\python%1%\python.exe
|
||||||
shift
|
shift
|
||||||
else
|
else
|
||||||
beep
|
beep
|
||||||
|
@@ -10,7 +10,7 @@ will be created.
|
|||||||
import sys, os, string
|
import sys, os, string
|
||||||
|
|
||||||
KEEP_TEMPS = 0
|
KEEP_TEMPS = 0
|
||||||
ISCC = r"D:\TOOLS\InnoSetup2Ex\ISCC.exe %s"
|
ISCC = r"%s\InnoSetup2Ex\ISCC.exe %s"
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -330,7 +330,7 @@ def main():
|
|||||||
f.write(IFS_Template % vars())
|
f.write(IFS_Template % vars())
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
os.system(ISCC % ISSFILE)
|
os.system(ISCC % (os.environ['TOOLS'], ISSFILE))
|
||||||
|
|
||||||
if not KEEP_TEMPS:
|
if not KEEP_TEMPS:
|
||||||
os.remove(ISSFILE)
|
os.remove(ISSFILE)
|
||||||
|
@@ -52,6 +52,11 @@
|
|||||||
static const wxString wxPyEmptyString(wxT(""));
|
static const wxString wxPyEmptyString(wxT(""));
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
||||||
|
%{
|
||||||
|
static const long longzero = 0;
|
||||||
|
%}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@@ -1213,7 +1218,7 @@ public:
|
|||||||
|
|
||||||
size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
|
size_t GetChildrenCount(const wxTreeItemId& item, bool recursively = TRUE);
|
||||||
|
|
||||||
wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& INOUT=0);
|
wxTreeItemId GetFirstChild(const wxTreeItemId& item, long& INOUT = longzero);
|
||||||
wxTreeItemId GetNextChild(const wxTreeItemId& item, long& INOUT);
|
wxTreeItemId GetNextChild(const wxTreeItemId& item, long& INOUT);
|
||||||
wxTreeItemId GetNextSibling(const wxTreeItemId& item);
|
wxTreeItemId GetNextSibling(const wxTreeItemId& item);
|
||||||
wxTreeItemId GetPrevSibling(const wxTreeItemId& item);
|
wxTreeItemId GetPrevSibling(const wxTreeItemId& item);
|
||||||
|
@@ -399,6 +399,7 @@ wxString wxGetUserName();
|
|||||||
wxString wxGetHomeDir();
|
wxString wxGetHomeDir();
|
||||||
wxString wxGetUserHome(const wxString& user = wxPyEmptyString);
|
wxString wxGetUserHome(const wxString& user = wxPyEmptyString);
|
||||||
|
|
||||||
|
unsigned long wxGetProcessId();
|
||||||
|
|
||||||
// When wxApp gets the virtual method magic then enable this.
|
// When wxApp gets the virtual method magic then enable this.
|
||||||
// bool wxHandleFatalExceptions(bool doIt = TRUE);
|
// bool wxHandleFatalExceptions(bool doIt = TRUE);
|
||||||
|
@@ -100,6 +100,8 @@ static PyObject* t_output_helper(PyObject* target, PyObject* o) {
|
|||||||
DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
|
DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
|
||||||
|
|
||||||
static const wxString wxPyEmptyString(wxT(""));
|
static const wxString wxPyEmptyString(wxT(""));
|
||||||
|
|
||||||
|
static const long longzero = 0;
|
||||||
// C++ Version of a Python aware class
|
// C++ Version of a Python aware class
|
||||||
class wxPyListCtrl : public wxListCtrl {
|
class wxPyListCtrl : public wxListCtrl {
|
||||||
DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
|
DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
|
||||||
@@ -7780,7 +7782,7 @@ static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args,
|
|||||||
wxTreeItemId * _result;
|
wxTreeItemId * _result;
|
||||||
wxPyTreeCtrl * _arg0;
|
wxPyTreeCtrl * _arg0;
|
||||||
wxTreeItemId * _arg1;
|
wxTreeItemId * _arg1;
|
||||||
long * _arg2 = (long *) &0;
|
long * _arg2 = (long *) &longzero;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
PyObject * _argo1 = 0;
|
PyObject * _argo1 = 0;
|
||||||
long temp;
|
long temp;
|
||||||
|
@@ -941,6 +941,24 @@ static PyObject *_wrap_wxGetUserHome(PyObject *self, PyObject *args, PyObject *k
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static PyObject *_wrap_wxGetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
PyObject * _resultobj;
|
||||||
|
unsigned long _result;
|
||||||
|
char *_kwnames[] = { NULL };
|
||||||
|
|
||||||
|
self = self;
|
||||||
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetProcessId",_kwnames))
|
||||||
|
return NULL;
|
||||||
|
{
|
||||||
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
_result = (unsigned long )wxGetProcessId();
|
||||||
|
|
||||||
|
wxPyEndAllowThreads(__tstate);
|
||||||
|
if (PyErr_Occurred()) return NULL;
|
||||||
|
} _resultobj = Py_BuildValue("l",_result);
|
||||||
|
return _resultobj;
|
||||||
|
}
|
||||||
|
|
||||||
static PyObject *_wrap_wxGetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxGetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
wxAcceleratorEntry * _result;
|
wxAcceleratorEntry * _result;
|
||||||
@@ -4261,6 +4279,7 @@ static PyMethodDef misccMethods[] = {
|
|||||||
{ "wxObject_Destroy", (PyCFunction) _wrap_wxObject_Destroy, METH_VARARGS | METH_KEYWORDS },
|
{ "wxObject_Destroy", (PyCFunction) _wrap_wxObject_Destroy, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxObject_GetClassName", (PyCFunction) _wrap_wxObject_GetClassName, METH_VARARGS | METH_KEYWORDS },
|
{ "wxObject_GetClassName", (PyCFunction) _wrap_wxObject_GetClassName, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGetAccelFromString", (PyCFunction) _wrap_wxGetAccelFromString, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGetAccelFromString", (PyCFunction) _wrap_wxGetAccelFromString, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
{ "wxGetProcessId", (PyCFunction) _wrap_wxGetProcessId, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGetUserHome", (PyCFunction) _wrap_wxGetUserHome, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGetUserHome", (PyCFunction) _wrap_wxGetUserHome, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGetHomeDir", (PyCFunction) _wrap_wxGetHomeDir, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGetHomeDir", (PyCFunction) _wrap_wxGetHomeDir, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGetUserName", (PyCFunction) _wrap_wxGetUserName, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGetUserName", (PyCFunction) _wrap_wxGetUserName, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -607,6 +607,8 @@ wxGetHomeDir = miscc.wxGetHomeDir
|
|||||||
|
|
||||||
wxGetUserHome = miscc.wxGetUserHome
|
wxGetUserHome = miscc.wxGetUserHome
|
||||||
|
|
||||||
|
wxGetProcessId = miscc.wxGetProcessId
|
||||||
|
|
||||||
def wxGetAccelFromString(*_args, **_kwargs):
|
def wxGetAccelFromString(*_args, **_kwargs):
|
||||||
val = apply(miscc.wxGetAccelFromString,_args,_kwargs)
|
val = apply(miscc.wxGetAccelFromString,_args,_kwargs)
|
||||||
if val: val = wxAcceleratorEntryPtr(val)
|
if val: val = wxAcceleratorEntryPtr(val)
|
||||||
|
Reference in New Issue
Block a user