Files
easy7zip/CPP/7zip/UI/FileManager/DialogSize.h
Igor Pavlov c99f3ebdd6 9.06 beta
2016-05-28 00:16:00 +01:00

17 lines
337 B
C
Executable File

// DialogSize.h
#ifndef __DIALOG_SIZE_H
#define __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