SWIGged update for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-07-29 20:51:23 +00:00
parent 62fc00206f
commit 1dbd57590d
3 changed files with 13 additions and 1 deletions

View File

@@ -196,8 +196,12 @@ void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
}
wxPyEndBlockThreads();
}
#if 0
extern wxClipboard * wxTheClipboard;
#endif
class wxPyDropSource : public wxDropSource {
public:
#ifndef __WXGTK__

View File

@@ -3633,7 +3633,11 @@ static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObjec
}
static PyObject * wxComboBox_GetClientData(wxComboBox *self,int n) {
#ifdef __WXMAC__
wxPyClientData* data = (wxPyClientData*)self->wxItemContainer::GetClientObject(n);
#else
wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
#endif
if (data) {
Py_INCREF(data->m_obj);
return data->m_obj;
@@ -3674,7 +3678,11 @@ static PyObject *_wrap_wxComboBox_GetClientData(PyObject *self, PyObject *args,
static void wxComboBox_SetClientData(wxComboBox *self,int n,PyObject * clientData) {
wxPyClientData* data = new wxPyClientData(clientData);
#ifdef __WXMAC__
self->wxItemContainer::SetClientObject(n, data);
#else
self->SetClientObject(n, data);
#endif
}
static PyObject *_wrap_wxComboBox_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;

View File

@@ -59,7 +59,7 @@ extern PyObject *SWIG_newvarlink(void);
#include <wx/splitter.h>
#include <wx/imaglist.h>
#ifdef __WXMSW__
#include <wx/msw/taskbar.h>
#include <wx/taskbar.h>
#endif
// Put some wx default wxChar* values into wxStrings.