* 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:
@@ -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)
|
||||
}
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user