Add wx.Position

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-04-12 00:41:45 +00:00
parent 26ee65c723
commit 363868e5eb
4 changed files with 61 additions and 3 deletions

View File

@@ -122,6 +122,7 @@ inline wxPyCoreAPI* wxPyGetCoreAPIPtr()
#define wxArrayDouble2PyList_helper(a) (wxPyGetCoreAPIPtr()->p_wxArrayDoublePyList_helper(a))
#define wxPoint2D_LIST_helper(a,b) (wxPyGetCoreAPIPtr()->p_wxPoint2D_LIST_helper(a, b))
#define wxRect2D_helper(a,b) (wxPyGetCoreAPIPtr()->p_wxRect2D_helper(a,b))
#define wxPosition_helper(a,b) (wxPyGetCoreAPIPtr()->p_wxPosition_helper(a,b))
//----------------------------------------------------------------------

View File

@@ -253,6 +253,7 @@ bool wxRect_helper(PyObject* source, wxRect** obj);
bool wxColour_helper(PyObject* source, wxColour** obj);
bool wxPoint2D_helper(PyObject* source, wxPoint2D** obj);
bool wxRect2D_helper(PyObject* source, wxRect2D** obj);
bool wxPosition_helper(PyObject* source, wxPosition** obj);
bool wxPySimple_typecheck(PyObject* source, const wxChar* classname, int seqLen);
@@ -434,6 +435,7 @@ struct wxPyCoreAPI {
PyObject* (*p_wxArrayDoublePyList_helper)(const wxArrayDouble& arr);
wxPoint2D* (*p_wxPoint2D_LIST_helper)(PyObject* source, size_t* npoints);
bool (*p_wxRect2D_helper)(PyObject* source, wxRect2D** obj);
bool (*p_wxPosition_helper)(PyObject* source, wxPosition** obj);
};
@@ -641,8 +643,9 @@ public:
// virtual int FilterEvent(wxEvent& event); // This one too????
// For catching Apple Events
virtual void MacOpenFile(const wxString &fileName);
virtual void MacPrintFile(const wxString &fileName);
virtual void MacOpenFile(const wxString& fileName);
virtual void MacOpenURL(const wxString& url);
virtual void MacPrintFile(const wxString& fileName);
virtual void MacNewFile();
virtual void MacReopenApp();