Conditional fix for #7629. Only builds with a conditional set in my environment

git-svn-id: svn://10.0.0.236/trunk@34359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tague%netscape.com
1999-06-09 03:17:56 +00:00
parent 74bd7637a5
commit c14a08ca40
6 changed files with 14 additions and 10 deletions

View File

@@ -118,7 +118,7 @@ nsWindow::nsWindow() : nsBaseWidget()
mIMECompositionStringSize = 0;
mIMECompositionStringSize = 0;
mIMECompositionUniString = NULL;
#ifdef DEBUG_tague
#ifdef tague_keyboard_patch
mHaveDBCSLeadByte = false;
mDBCSLeadByte = '\0';
#endif
@@ -1924,7 +1924,7 @@ ULONG nsWindow::IsSpecialChar(UINT aVirtualKeyCode, WORD *aAsciiKey)
case VK_F10:
case VK_F11:
case VK_F12:
#ifdef DEBUG_tague
#ifdef tague_keyboard_patch
case VK_RETURN:
case VK_BACK:
#endif
@@ -2089,7 +2089,7 @@ BOOL nsWindow::OnKeyUp( UINT aVirtualKeyCode, UINT aScanCode)
//
//
//-------------------------------------------------------------------------
#ifdef DEBUG_tague
#ifdef tague_keyboard_patch
BOOL nsWindow::OnChar( UINT aVirtualKeyCode, bool isMultiByte )
{
wchar_t uniChar;
@@ -2252,7 +2252,7 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
case WM_PAINT:
result = OnPaint();
break;
#ifdef DEBUG_tague
#ifdef tague_keyboard_patch
case WM_SYSCHAR:
case WM_CHAR:
{