From 56da7efc57cd8005f9b944a1a1e5ccbf3ed0709c Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Fri, 4 Nov 2022 19:00:51 +0800 Subject: [PATCH] Fix error: struct 'CWindow' was previously declared as a class Signed-off-by: Xiang Xiao --- include/graphics/twm4nx/ciconmgr.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/graphics/twm4nx/ciconmgr.hxx b/include/graphics/twm4nx/ciconmgr.hxx index 82203b187..766f29c0a 100644 --- a/include/graphics/twm4nx/ciconmgr.hxx +++ b/include/graphics/twm4nx/ciconmgr.hxx @@ -77,7 +77,7 @@ namespace Twm4Nx NXWidgets::CNxString m_name; /**< The Icon Manager name */ FAR struct SWindowEntry *m_head; /**< Head of the window list */ FAR struct SWindowEntry *m_tail; /**< Tail of the window list */ - FAR struct CWindow *m_window; /**< Parent window */ + FAR CWindow *m_window; /**< Parent window */ FAR NXWidgets::CButtonArray *m_buttons; /**< The contained button array */ uint16_t m_nWindows; /**< The number of windows in the icon mgr. */ uint8_t m_nColumns; /**< Fixed number of columns per row */