New toolbar wrappers

wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-12-23 20:05:08 +00:00
parent 8d772832a0
commit 9b3d3bc44b
42 changed files with 4249 additions and 2442 deletions

View File

@@ -32,20 +32,6 @@
//---------------------------------------------------------------------------
%{
class wxPyUserData : public wxObject {
public:
wxPyUserData(PyObject* obj) { m_obj = obj; Py_INCREF(m_obj); }
~wxPyUserData() {
bool doSave = wxPyRestoreThread();
Py_DECREF(m_obj);
wxPySaveThread(doSave);
}
PyObject* m_obj;
};
%}
//---------------------------------------------------------------------------
class wxSizerItem {
public:
@@ -69,6 +55,11 @@ public:
int GetFlag();
int GetBorder();
void SetInitSize( int x, int y );
void SetOption( int option );
void SetFlag( int flag );
void SetBorder( int border );
// wxObject* GetUserData();
%addmethods {
// Assume that the user data is a wxPyUserData object and return the contents