diff --git a/Source/DialogTemplate.cpp b/Source/DialogTemplate.cpp index f560d992..927bb3ff 100644 --- a/Source/DialogTemplate.cpp +++ b/Source/DialogTemplate.cpp @@ -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 diff --git a/Source/DialogTemplate.h b/Source/DialogTemplate.h index 15d9fe5d..1b023cc6 100644 --- a/Source/DialogTemplate.h +++ b/Source/DialogTemplate.h @@ -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);