reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-06 21:34:51 +00:00
parent ef6c08e5c3
commit 33b885b998
9 changed files with 276 additions and 18 deletions

View File

@@ -375,7 +375,7 @@ wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
}
static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
static const wxString wxPySpinCtrlNameStr(wxT(_T("wxSpinCtrl")));
static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
}
static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
@@ -388,7 +388,7 @@ int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long
static const wxString wxPySliderNameStr(wxSliderNameStr);
static const wxString wxPyToggleButtonNameStr(wxT(_T("wxToggleButton")));
static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
#ifdef __WXMAC__
// implement dummy classes and such for wxMac
@@ -454,7 +454,7 @@ void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *client
#include <wx/listctrl.h>
static const wxString wxPyListCtrlNameStr(wxT(_T("wxListCtrl")));
static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
// Python aware sorting function for wxPyListCtrl
static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
@@ -558,7 +558,7 @@ wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
#include <wx/treectrl.h>
#include "wx/wxPython/pytree.h"
static const wxString wxPyTreeCtrlNameStr(wxT(_T("wxTreeCtrl")));
static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
if (!other) return False;
return *self == *other;