POSIX does not have SIZE type but that is OK because we never call that overload
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7037 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5122047639
commit
9bd98cc4fa
2 changed files with 1 additions and 2 deletions
|
@ -432,7 +432,6 @@ void CDialogTemplate::CTrimToString(WORD id, TCHAR *str, int margins) {
|
|||
}
|
||||
#else //! WIN32
|
||||
void CDialogTemplate::PixelsToDlgUnits(short& x, short& y) { assert(0); }
|
||||
void CDialogTemplate::PixelsToDlgUnits(SIZE& siz) { assert(0); }
|
||||
void CDialogTemplate::DlgUnitsToPixels(short& x, short& y) { assert(0); }
|
||||
#endif //~ WIN32
|
||||
|
||||
|
|
|
@ -124,10 +124,10 @@ public:
|
|||
void MoveAll(short x, short y);
|
||||
void Resize(short x, short y);
|
||||
void PixelsToDlgUnits(short& x, short& y);
|
||||
void PixelsToDlgUnits(SIZE& siz);
|
||||
void DlgUnitsToPixels(short& x, short& y);
|
||||
#ifdef _WIN32
|
||||
static inline bool SupportsDialogUnitComputation() { return true; }
|
||||
void PixelsToDlgUnits(SIZE& siz);
|
||||
SIZE GetStringSize(WORD id, TCHAR *str);
|
||||
void RTrimToString(WORD id, TCHAR *str, int margins);
|
||||
void LTrimToString(WORD id, TCHAR *str, int margins);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue