X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbfb8bcc3fa17e079d4219655b173f8ed2ccc65a..adfb405a9ce054ad1946107d1c3ba3b187c89f51:/include/wx/gtk/region.h diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index f9925be044..50aa865bd3 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -10,27 +10,13 @@ #ifndef _WX_GTK_REGION_H_ #define _WX_GTK_REGION_H_ -#include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" -//----------------------------------------------------------------------------- -// classes -//----------------------------------------------------------------------------- - -class WXDLLIMPEXP_CORE wxRegion; - //----------------------------------------------------------------------------- // constants //----------------------------------------------------------------------------- -enum wxRegionContain -{ - wxOutRegion = 0, - wxPartRegion = 1, - wxInRegion = 2 -}; - // So far, for internal use only enum wxRegionOp { @@ -78,12 +64,7 @@ public: Union(bmp, transColour, tolerance); } - ~wxRegion(); - - wxRegion( const wxRegion& region ) - : wxGDIObject() - { Ref(region); } - wxRegion& operator = ( const wxRegion& region ) { Ref(region); return *this; } + virtual ~wxRegion(); bool Ok() const { return m_refData != NULL; }