// Now build an argument tuple and call the Python function. Notice the
// use of another wxPython API to take a wxWindows object and build a
// wxPython object that wraps it.
- PyObject* arg = wxPyMake_wxObject(parent);
+ PyObject* arg = wxPyMake_wxObject(parent, false);
wxASSERT(arg != NULL);
PyObject* tuple = PyTuple_New(1);
PyTuple_SET_ITEM(tuple, 0, arg);
//----------------------------------------------------------------------
-
-
-
-
-
-
PROGRAM = embedded
OBJECTS = $(PROGRAM).o
-#WX_CFG = wx-config
-WX_CFG = wxgtk2ud-2.5-config
+WX_CFG = wx-config
+PYVER = 2.4
-EXTRAINC=-I../../include -I/usr/include/python2.3
-EXTRALIB=-L/usr/lib/python2.3/config -lpython2.3
+EXTRAINC=-I../../include -I/usr/include/python$(PYVER)
+EXTRALIB=-L/usr/lib/python$(PYVER)/config -lpython$(PYVER)
CXX = $(shell $(WX_CFG) --cxx)