--- a/src/gui/kernel/qwidget_wince.cpp Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/kernel/qwidget_wince.cpp Wed Aug 18 10:37:55 2010 +0300
@@ -498,6 +498,7 @@
int style = GetWindowLong(internalWinId(), GWL_STYLE) | WS_BORDER | WS_POPUP | WS_CAPTION;
SetWindowLong(internalWinId(), GWL_STYLE, style);
SetWindowLong(internalWinId(), GWL_EXSTYLE, GetWindowLong (internalWinId(), GWL_EXSTYLE) & ~ WS_EX_NODRAG);
+ qt_wince_unmaximize(this);
}
if (isVisible() && newstate & Qt::WindowMaximized)
qt_wince_maximize(this);