Mercurial > dwindows
comparison os2/dw.c @ 2284:3361ce6070ce
Add DW_FEATURE_TASK_BAR to the feature tests, for taskbar icon support.
Not having this earlier was probably an oversight, but added it because GTK4
removes the widget that allowed this support.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 03 Feb 2021 21:44:15 +0000 |
parents | 15347d28995a |
children | 5113afb0aea9 |
comparison
equal
deleted
inserted
replaced
2283:0c88059df8e9 | 2284:3361ce6070ce |
---|---|
13858 case DW_FEATURE_WINDOW_BORDER: | 13858 case DW_FEATURE_WINDOW_BORDER: |
13859 case DW_FEATURE_MLE_WORD_WRAP: | 13859 case DW_FEATURE_MLE_WORD_WRAP: |
13860 case DW_FEATURE_NOTEBOOK_STATUS_TEXT: | 13860 case DW_FEATURE_NOTEBOOK_STATUS_TEXT: |
13861 case DW_FEATURE_MDI: | 13861 case DW_FEATURE_MDI: |
13862 return DW_FEATURE_ENABLED; | 13862 return DW_FEATURE_ENABLED; |
13863 case DW_FEATURE_TASK_BAR: | |
13864 { | |
13865 if(hwndTrayServer) | |
13866 return DW_ERROR_ENABLED; | |
13867 return DW_FEATURE_UNSUPPORTED; | |
13868 } | |
13863 default: | 13869 default: |
13864 return DW_FEATURE_UNSUPPORTED; | 13870 return DW_FEATURE_UNSUPPORTED; |
13865 } | 13871 } |
13866 } | 13872 } |
13867 | 13873 |
13889 case DW_FEATURE_WINDOW_BORDER: | 13895 case DW_FEATURE_WINDOW_BORDER: |
13890 case DW_FEATURE_MLE_WORD_WRAP: | 13896 case DW_FEATURE_MLE_WORD_WRAP: |
13891 case DW_FEATURE_NOTEBOOK_STATUS_TEXT: | 13897 case DW_FEATURE_NOTEBOOK_STATUS_TEXT: |
13892 case DW_FEATURE_MDI: | 13898 case DW_FEATURE_MDI: |
13893 return DW_ERROR_GENERAL; | 13899 return DW_ERROR_GENERAL; |
13900 case DW_FEATURE_TASK_BAR: | |
13901 { | |
13902 if(hwndTrayServer) | |
13903 return DW_ERROR_GENERAL; | |
13904 return DW_FEATURE_UNSUPPORTED; | |
13905 } | |
13894 /* These features are supported and configurable */ | 13906 /* These features are supported and configurable */ |
13895 default: | 13907 default: |
13896 return DW_FEATURE_UNSUPPORTED; | 13908 return DW_FEATURE_UNSUPPORTED; |
13897 } | 13909 } |
13898 } | 13910 } |