aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Control.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-18 17:31:23 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-18 17:31:23 +0800
commit04d243699cbde40fe69472f4c4df38c36f7942ef (patch)
treeaf2a2031ab7f2d9ce03cf677eba066e11f32a0c9 /include/cru/ui/controls/Control.h
parent358dc1498623d53f1d8bedf5172743deb6c03811 (diff)
downloadcru-04d243699cbde40fe69472f4c4df38c36f7942ef.tar.gz
cru-04d243699cbde40fe69472f4c4df38c36f7942ef.tar.bz2
cru-04d243699cbde40fe69472f4c4df38c36f7942ef.zip
Move delete later to platform::gui.
Diffstat (limited to 'include/cru/ui/controls/Control.h')
-rw-r--r--include/cru/ui/controls/Control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/Control.h b/include/cru/ui/controls/Control.h
index 9e5e86b8..6a85d25a 100644
--- a/include/cru/ui/controls/Control.h
+++ b/include/cru/ui/controls/Control.h
@@ -1,6 +1,5 @@
#pragma once
#include "../Base.h"
-#include "../DeleteLater.h"
#include "../events/KeyEventArgs.h"
#include "../events/MouseWheelEventArgs.h"
#include "../events/UiEvents.h"
@@ -9,6 +8,7 @@
#include "../style/StyleRuleSet.h"
#include <cru/base/SelfResolvable.h>
+#include <cru/platform/gui/DeleteLater.h>
namespace cru::ui::controls {
@@ -22,7 +22,7 @@ namespace cru::ui::controls {
* The last two methods are totally for convenient control tree management.
*/
class CRU_UI_API Control : public Object,
- public DeleteLaterImpl,
+ public cru::platform::gui::DeleteLaterImpl<Control>,
public SelfResolvable<Control> {
friend class ControlHost;