X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c16b9bfe69f3d28738aa35edfbc2a05b7c573301..9f728f8dba3da31745bb703bf6572df7f8dbb848:/include/wx/region.h diff --git a/include/wx/region.h b/include/wx/region.h index 1d038a6cbf..1b1f627953 100644 --- a/include/wx/region.h +++ b/include/wx/region.h @@ -15,9 +15,9 @@ #include "wx/gdiobj.h" #include "wx/gdicmn.h" -class WXDLLIMPEXP_CORE wxBitmap; -class WXDLLEXPORT wxColour; -class WXDLLEXPORT wxRegion; +class WXDLLIMPEXP_FWD_CORE wxBitmap; +class WXDLLIMPEXP_FWD_CORE wxColour; +class WXDLLIMPEXP_FWD_CORE wxRegion; // ---------------------------------------------------------------------------- // constants @@ -55,7 +55,7 @@ enum wxRegionOp // wxRegionBase defines wxRegion API // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxRegionBase : public wxGDIObject +class WXDLLIMPEXP_CORE wxRegionBase : public wxGDIObject { public: // ctors @@ -82,9 +82,6 @@ public: // accessors // --------- - bool Ok() const { return IsOk(); } - bool IsOk() const { return m_refData != NULL; } - // Is region empty? virtual bool IsEmpty() const = 0; bool Empty() const { return IsEmpty(); } @@ -191,7 +188,7 @@ protected: #define wxHAS_REGION_COMBINE -class WXDLLEXPORT wxRegionWithCombine : public wxRegionBase +class WXDLLIMPEXP_CORE wxRegionWithCombine : public wxRegionBase { public: // these methods are not part of public API as they're not implemented on