Fixing linker error on MOZ_UNICODE
/r=shanjian, /sr=kin, /a=asa
This commit is contained in:
yokoyama%netscape.com 2002-07-29 21:44:53 +00:00
parent 22d2e7ef3c
commit 10c29f10f7
2 changed files with 11 additions and 2 deletions

View File

@ -4549,6 +4549,16 @@ LPCWSTR nsWindow::WindowPopupClassW()
return className;
}
LPCTSTR nsWindow::WindowClass()
{
return (NS_ConvertUCS2toUTF8(WindowClassW()).get());
}
LPCTSTR nsWindow::WindowPopupClass()
{
return (NS_ConvertUCS2toUTF8(WindowPopupClassW()).get());
}
#else
LPCTSTR nsWindow::WindowClass()
{

View File

@ -410,10 +410,9 @@ protected:
#ifdef MOZ_UNICODE
virtual LPCWSTR WindowClassW();
virtual LPCWSTR WindowPopupClassW();
#else
#endif
virtual LPCTSTR WindowClass();
virtual LPCTSTR WindowPopupClass();
#endif
virtual DWORD WindowStyle();
virtual DWORD WindowExStyle();