From bda6def50e44f9022358b913271f32bac781af4b Mon Sep 17 00:00:00 2001 From: Brad Lassey Date: Thu, 13 Aug 2009 18:45:31 -0700 Subject: [PATCH] bug 508501 - bustage fix for Windows CE --- widget/src/windows/nsWindowCE.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/src/windows/nsWindowCE.cpp b/widget/src/windows/nsWindowCE.cpp index 8e6325b40566..903c2f8d677b 100644 --- a/widget/src/windows/nsWindowCE.cpp +++ b/widget/src/windows/nsWindowCE.cpp @@ -354,11 +354,12 @@ DWORD nsWindow::WindowStyle() // Maximize, minimize or restore the window. NS_IMETHODIMP nsWindow::SetSizeMode(PRInt32 aMode) { +#if defined(WINCE_HAVE_SOFTKB) if (aMode == 0 && mSizeMode == 3 && nsWindowCE::sSIPInTransition) { // ignore the size mode being set to normal by the SIP resizing us return NS_OK; - } +#endif nsresult rv; // Let's not try and do anything if we're already in that state.