X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8b8dda73001819104b83776e4c014369c013ce8..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/wxPython/src/controls.i diff --git a/utils/wxPython/src/controls.i b/utils/wxPython/src/controls.i index 7279b5dc3c..cc606fec8b 100644 --- a/utils/wxPython/src/controls.i +++ b/utils/wxPython/src/controls.i @@ -22,6 +22,10 @@ #include #endif #endif + +#ifdef __WXGTK__ +#include +#endif %} //---------------------------------------------------------------------- @@ -83,14 +87,12 @@ public: %pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)" wxBitmap& GetBitmapLabel(); -#ifdef __WXMSW__ wxBitmap& GetBitmapDisabled(); wxBitmap& GetBitmapFocus(); wxBitmap& GetBitmapSelected(); void SetBitmapDisabled(const wxBitmap& bitmap); void SetBitmapFocus(const wxBitmap& bitmap); void SetBitmapSelected(const wxBitmap& bitmap); -#endif void SetBitmapLabel(const wxBitmap& bitmap); }; @@ -270,7 +272,6 @@ public: //---------------------------------------------------------------------- -#ifdef __WXMSW__ class wxCheckListBox : public wxListBox { public: wxCheckListBox(wxWindow *parent, wxWindowID id, @@ -289,7 +290,6 @@ public: int GetItemHeight(); }; -#endif //---------------------------------------------------------------------- @@ -404,19 +404,19 @@ public: %pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)" - %name(EnableBox)void Enable(bool enable); - void Enable(int n, bool enable); + void Enable(bool enable); + %name(EnableItem)void Enable(int n, bool enable); int FindString(const wxString& string); #ifdef __WXMSW__ - %name(GetBoxLabel)wxString GetLabel(); + wxString GetLabel(); #endif - wxString GetLabel(int n); + %name(GetItemLabel)wxString GetLabel(int n); int GetSelection(); wxString GetString(int n); wxString GetStringSelection(); int Number(); - %name(SetBoxLabel)void SetLabel(const wxString& label); - void SetLabel(int n, const wxString& label); + void SetLabel(const wxString& label); + %name(SetItemLabel)void SetLabel(int n, const wxString& label); void SetSelection(int n); void SetStringSelection(const wxString& string); void Show(bool show); @@ -483,6 +483,19 @@ public: ///////////////////////////////////////////////////////////////////////////// // // $Log$ +// Revision 1.11 1999/02/25 07:08:30 RD +// wxPython version 2.0b5 +// +// Revision 1.10 1998/12/17 17:52:19 RD +// +// wxPython 0.5.2 +// Minor fixes and SWIG code generation for RR's changes. MSW and GTK +// versions are much closer now! +// +// Revision 1.9 1998/12/17 14:07:29 RR +// +// Removed minor differences between wxMSW and wxGTK +// // Revision 1.8 1998/12/15 20:41:15 RD // Changed the import semantics from "from wxPython import *" to "from // wxPython.wx import *" This is for people who are worried about