aboutsummaryrefslogtreecommitdiff
path: root/CPP/7zip/UI/FileManager/DialogSize.h
blob: 9f2270bd40ea61aa136b21feaf59d9341a5ee356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// DialogSize.h

#ifndef ZIP7_INC_DIALOG_SIZE_H
#define ZIP7_INC_DIALOG_SIZE_H

#include "../../../Windows/Control/Dialog.h"

#ifdef UNDER_CE
#define BIG_DIALOG_SIZE(x, y) bool isBig = NWindows::NControl::IsDialogSizeOK(x, y);
#define SIZED_DIALOG(big) (isBig ? big : big ## _2)
#else
#define BIG_DIALOG_SIZE(x, y)
#define SIZED_DIALOG(big) big
#endif

#endif