diff options
Diffstat (limited to 'core/fxge')
-rw-r--r-- | core/fxge/cfx_graphstatedata.h | 5 | ||||
-rw-r--r-- | core/fxge/cfx_pathdata.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/core/fxge/cfx_graphstatedata.h b/core/fxge/cfx_graphstatedata.h index dc0098be3e..1afff83c1c 100644 --- a/core/fxge/cfx_graphstatedata.h +++ b/core/fxge/cfx_graphstatedata.h @@ -8,14 +8,15 @@ #define CORE_FXGE_CFX_GRAPHSTATEDATA_H_ #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/retain_ptr.h" -class CFX_GraphStateData { +class CFX_GraphStateData : public Retainable { public: enum LineCap { LineCapButt = 0, LineCapRound = 1, LineCapSquare = 2 }; CFX_GraphStateData(); CFX_GraphStateData(const CFX_GraphStateData& src); - ~CFX_GraphStateData(); + ~CFX_GraphStateData() override; void Copy(const CFX_GraphStateData& src); void SetDashCount(int count); diff --git a/core/fxge/cfx_pathdata.h b/core/fxge/cfx_pathdata.h index 0e2bb89f9f..d346ba0666 100644 --- a/core/fxge/cfx_pathdata.h +++ b/core/fxge/cfx_pathdata.h @@ -29,11 +29,11 @@ class FX_PATHPOINT { bool m_CloseFigure; }; -class CFX_PathData { +class CFX_PathData : public Retainable { public: CFX_PathData(); CFX_PathData(const CFX_PathData& src); - ~CFX_PathData(); + ~CFX_PathData() override; void Clear(); |