changeset 2811:30cb5d646267

Android: DW_FCF_SYSMENU should imply being closable. This fixes windows now being dismissable with the Android back button in Interface Builder.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 27 Jul 2022 08:32:32 +0000
parents e0ac1ef1c85b
children 723b79981427
files dw.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw.h	Tue Jul 26 19:40:46 2022 +0000
+++ b/dw.h	Wed Jul 27 08:32:32 2022 +0000
@@ -824,7 +824,7 @@
 
 #define DW_FCF_CLOSEBUTTON       1
 #define DW_FCF_TITLEBAR          (1 << 1)
-#define DW_FCF_SYSMENU           0
+#define DW_FCF_SYSMENU           DW_FCF_CLOSEBUTTON
 #define DW_FCF_MENU              0
 #define DW_FCF_SIZEBORDER        0
 #define DW_FCF_MINBUTTON         0