Cygwin Unicode support came out the end of last year, not sure if that would make a difference.
Or if you can...
Code:
void MsgBox(const TCHAR * message, const TCHAR * title, int flags)
{
MessageBox(m_hwnd, message, title, flags);
}
Or:
Code:
void MsgBox(LPCTSTR message, LPCTSTR title, int flags)
{
MessageBox(m_hwnd, message, title, flags);
}
That way who cares whether Unicode is set (although it might matter upstream).
Otherwise, if you don't care about the ANSI version, use MessageBoxW() instead...