More build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -420,8 +420,14 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
%readonly
|
%readonly
|
||||||
|
%{
|
||||||
|
#if 0
|
||||||
|
%}
|
||||||
// See also wxPy_ReinitStockObjects in helpers.cpp
|
// See also wxPy_ReinitStockObjects in helpers.cpp
|
||||||
extern wxClipboard* wxTheClipboard;
|
extern wxClipboard* wxTheClipboard;
|
||||||
|
%{
|
||||||
|
#endif
|
||||||
|
%}
|
||||||
%readwrite
|
%readwrite
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
@@ -175,7 +175,7 @@ wxWindow* wxFindWindowAtPoint(const wxPoint& pt);
|
|||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
bool wxCheckForInterrupt(wxWindow *wnd);
|
bool wxCheckForInterrupt(wxWindow *wnd);
|
||||||
void wxFlushEvents();
|
// link error? void wxFlushEvents();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxWindow* wxGetTopLevelParent(wxWindow *win);
|
wxWindow* wxGetTopLevelParent(wxWindow *win);
|
||||||
|
@@ -198,8 +198,12 @@ void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include <wx/metafile.h>
|
#include <wx/metafile.h>
|
||||||
|
|
||||||
|
#if 0
|
||||||
extern wxClipboard * wxTheClipboard;
|
extern wxClipboard * wxTheClipboard;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
class wxPyDropSource : public wxDropSource {
|
class wxPyDropSource : public wxDropSource {
|
||||||
public:
|
public:
|
||||||
#ifndef __WXGTK__
|
#ifndef __WXGTK__
|
||||||
|
@@ -1460,24 +1460,6 @@ static PyObject *_wrap_wxCheckForInterrupt(PyObject *self, PyObject *args, PyObj
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *_wrap_wxFlushEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
|
|
||||||
PyObject * _resultobj;
|
|
||||||
char *_kwnames[] = { NULL };
|
|
||||||
|
|
||||||
self = self;
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxFlushEvents",_kwnames))
|
|
||||||
return NULL;
|
|
||||||
{
|
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
|
||||||
wxFlushEvents();
|
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
|
||||||
if (PyErr_Occurred()) return NULL;
|
|
||||||
} Py_INCREF(Py_None);
|
|
||||||
_resultobj = Py_None;
|
|
||||||
return _resultobj;
|
|
||||||
}
|
|
||||||
|
|
||||||
static PyObject *_wrap_wxGetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxGetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
wxWindow * _result;
|
wxWindow * _result;
|
||||||
@@ -11562,7 +11544,6 @@ static PyMethodDef misc2cMethods[] = {
|
|||||||
{ "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
|
{ "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
|
{ "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGetTopLevelParent", (PyCFunction) _wrap_wxGetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGetTopLevelParent", (PyCFunction) _wrap_wxGetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFlushEvents", (PyCFunction) _wrap_wxFlushEvents, METH_VARARGS | METH_KEYWORDS },
|
|
||||||
{ "wxCheckForInterrupt", (PyCFunction) _wrap_wxCheckForInterrupt, METH_VARARGS | METH_KEYWORDS },
|
{ "wxCheckForInterrupt", (PyCFunction) _wrap_wxCheckForInterrupt, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
|
{ "wxFindWindowAtPoint", (PyCFunction) _wrap_wxFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
|
||||||
{ "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
|
{ "wxGenericFindWindowAtPoint", (PyCFunction) _wrap_wxGenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
|
||||||
|
@@ -1243,8 +1243,6 @@ def wxFindWindowAtPoint(*_args, **_kwargs):
|
|||||||
|
|
||||||
wxCheckForInterrupt = misc2c.wxCheckForInterrupt
|
wxCheckForInterrupt = misc2c.wxCheckForInterrupt
|
||||||
|
|
||||||
wxFlushEvents = misc2c.wxFlushEvents
|
|
||||||
|
|
||||||
def wxGetTopLevelParent(*_args, **_kwargs):
|
def wxGetTopLevelParent(*_args, **_kwargs):
|
||||||
val = misc2c.wxGetTopLevelParent(*_args,**_kwargs)
|
val = misc2c.wxGetTopLevelParent(*_args,**_kwargs)
|
||||||
return val
|
return val
|
||||||
|
Reference in New Issue
Block a user