mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 508501 - bustage fix for Windows CE
This commit is contained in:
parent
e47de25b68
commit
c163cbee6e
@ -354,11 +354,12 @@ DWORD nsWindow::WindowStyle()
|
|||||||
// Maximize, minimize or restore the window.
|
// Maximize, minimize or restore the window.
|
||||||
NS_IMETHODIMP nsWindow::SetSizeMode(PRInt32 aMode)
|
NS_IMETHODIMP nsWindow::SetSizeMode(PRInt32 aMode)
|
||||||
{
|
{
|
||||||
|
#if defined(WINCE_HAVE_SOFTKB)
|
||||||
if (aMode == 0 && mSizeMode == 3 && nsWindowCE::sSIPInTransition) {
|
if (aMode == 0 && mSizeMode == 3 && nsWindowCE::sSIPInTransition) {
|
||||||
// ignore the size mode being set to normal by the SIP resizing us
|
// ignore the size mode being set to normal by the SIP resizing us
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
|
||||||
// Let's not try and do anything if we're already in that state.
|
// Let's not try and do anything if we're already in that state.
|
||||||
|
Loading…
Reference in New Issue
Block a user