#include "helpers.h"
#include <wx/listctrl.h>
#include <wx/treectrl.h>
+#if 0
#include <wx/tabctrl.h>
+#endif
%}
//----------------------------------------------------------------------
%import events.i
%import controls.i
+%pragma(python) code = "import wxp"
+
//----------------------------------------------------------------------
%{
char* name = "listctrl");
#endif
+ %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)"
+
bool Arrange(int flag = wxLIST_ALIGN_DEFAULT);
bool DeleteItem(long item);
bool DeleteAllItems();
bool GetColumn(int col, wxListItem& item);
int GetColumnWidth(int col);
int GetCountPerPage();
-#ifdef __WXMSW
+#ifdef __WXMSW__
wxTextCtrl* GetEditControl();
#endif
wxImageList* GetImageList(int which);
class wxTreeCtrl : public wxControl {
public:
-#ifdef __WXMSW__
wxTreeCtrl(wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxPyDefaultPosition,
const wxSize& size = wxPyDefaultSize,
long style = wxTR_HAS_BUTTONS,
const wxValidator& validator = wxPyDefaultValidator,
char* name = "wxTreeCtrl");
-#else
- wxTreeCtrl(wxWindow *parent, wxWindowID id = -1,
- const wxPoint& pos = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
- long style = wxTR_HAS_BUTTONS,
- char* name = "wxTreeCtrl");
-#endif
+
+ %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)"
bool DeleteAllItems();
#ifdef __WXMSW__
//----------------------------------------------------------------------
+#ifdef SKIPTHIS
#ifdef __WXMSW__
class wxTabEvent : public wxCommandEvent {
public:
long style = 0,
char* name = "tabCtrl");
+ %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)"
+
bool DeleteAllItems();
bool DeleteItem(int item);
wxImageList* GetImageList();
};
+#endif
#endif
//----------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
//
// $Log$
+// Revision 1.5 1998/10/07 07:34:33 RD
+// Version 0.4.1 for wxGTK
+//
+// Revision 1.4 1998/10/02 06:40:36 RD
+//
+// Version 0.4 of wxPython for MSW.
+//
// Revision 1.3 1998/08/18 19:48:15 RD
// more wxGTK compatibility things.
//