git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34015
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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.
// 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);
wxASSERT(arg != NULL);
PyObject* tuple = PyTuple_New(1);
PyTuple_SET_ITEM(tuple, 0, arg);
//----------------------------------------------------------------------
//----------------------------------------------------------------------
PROGRAM = embedded
OBJECTS = $(PROGRAM).o
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)
CXX = $(shell $(WX_CFG) --cxx)