--- mstools/mfc/include/afxdlgs.h 2018/08/09 18:21:00 1.1.1.1 +++ mstools/mfc/include/afxdlgs.h 2018/08/09 18:25:02 1.1.1.3 @@ -37,6 +37,7 @@ extern "C" { #include "print.h" // printer specific APIs (DEVMODE) #endif } + ///////////////////////////////////////////////////////////////////////////// // Standard dialogs using Windows 3.x dialog (COMMDLG.DLL must be on path) @@ -310,7 +311,7 @@ inline void CFontDialog::GetCurrentFont( { ASSERT(m_hWnd != NULL); this->SendMessage(WM_CHOOSEFONT_GETLOGFONT, 0, (DWORD)(LPSTR)lplf); } inline CString CFontDialog::GetFaceName() const - { return (PSTR)m_cf.lpLogFont->lfFaceName; } //REVIEW: NT cast + { return m_cf.lpLogFont->lfFaceName; } inline CString CFontDialog::GetStyleName() const { return m_cf.lpszStyle; } inline int CFontDialog::GetSize() const