New code for Update() under GTK 2.0. Added
native GdkRegion() constructor to wxRegion. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -53,7 +53,7 @@ class wxRegion : public wxGDIObject
|
||||
{
|
||||
public:
|
||||
wxRegion() { }
|
||||
|
||||
|
||||
wxRegion( wxCoord x, wxCoord y, wxCoord w, wxCoord h )
|
||||
{
|
||||
InitRect(x, y, w, h);
|
||||
@@ -115,6 +115,10 @@ public:
|
||||
wxRegionContain Contains(const wxRect& rect) const;
|
||||
|
||||
public:
|
||||
// Init with GdkRegion, set ref count to 2 so that
|
||||
// the C++ class will not destroy the region!
|
||||
wxRegion( GdkRegion *region );
|
||||
|
||||
GdkRegion *GetRegion() const;
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user