* Some WXWIN_COMPATIBILITY_2_4 changes, as well as flagging other

things that will need fixing when WXWIN_COMPATIBILITY_2_4 is turned
  off.

* Create a custom version of the "default" ctor for wxCursor on wxGTK

* Switch to new format string and name string constants for default
  values

* Changes some public data members of event classes into properties as
  they are no longer public in the C++.

* Added wxSL_INVERSE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-01-21 20:38:51 +00:00
parent d7f03cae7f
commit aeee37c362
16 changed files with 130 additions and 53 deletions

View File

@@ -809,15 +809,13 @@ public:
wxPoint GetPosition() const;
wxRect GetRect() const;
void SetRect(wxRect rect);
%extend {
void SetPosition(wxPoint pos) {
self->m_pos = pos;
}
}
void SetRect(const wxRect& rect);
void SetPosition(const wxPoint& pos);
wxPoint m_pos;
wxRect m_rect;
%pythoncode {
m_pos = property(GetPosition, SetPosition)
m_rect = property(GetRect, SetRect)
}
};
//---------------------------------------------------------------------------