aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/components/Component.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-17 22:55:09 +0800
committercrupest <crupest@outlook.com>2022-01-17 22:55:09 +0800
commit67dd012c0f49898f1734c46d3bb264f59d056a8e (patch)
tree780dc9c50868a8e7b89e68b463a60745fce72ae9 /include/cru/ui/components/Component.hpp
parent81f7d5faaaf79149070a901a4f299aee70c46379 (diff)
downloadcru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.gz
cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.bz2
cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.zip
...
Diffstat (limited to 'include/cru/ui/components/Component.hpp')
-rw-r--r--include/cru/ui/components/Component.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/components/Component.hpp b/include/cru/ui/components/Component.hpp
index 0dfc587b..4cbc3791 100644
--- a/include/cru/ui/components/Component.hpp
+++ b/include/cru/ui/components/Component.hpp
@@ -5,7 +5,7 @@ namespace cru::ui::components {
// In destructor, component should check all owned controls whether it is
// attached to window, if not, destroy them, otherwise it is host's duty to
// destroy them.
-class Component : public Object {
+class CRU_UI_API Component : public Object {
public:
Component() = default;