Imported Upstream version 9.20
[platform/upstream/7zip.git] / CPP / 7zip / UI / FileManager / DialogSize.h
1 // DialogSize.h\r
2 \r
3 #ifndef __DIALOG_SIZE_H\r
4 #define __DIALOG_SIZE_H\r
5 \r
6 #include "Windows/Control/Dialog.h"\r
7 \r
8 #ifdef UNDER_CE\r
9 #define BIG_DIALOG_SIZE(x, y) bool isBig = NWindows::NControl::IsDialogSizeOK(x, y);\r
10 #define SIZED_DIALOG(big) (isBig ? big : big ## _2)\r
11 #else\r
12 #define BIG_DIALOG_SIZE(x, y)\r
13 #define SIZED_DIALOG(big) big\r
14 #endif\r
15 \r
16 #endif\r