--- np2/wince/np2.cpp 2003/12/05 23:46:06 1.6 +++ np2/wince/np2.cpp 2003/12/06 13:57:32 1.7 @@ -232,8 +232,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT #if !defined(GX_DLL) case WM_MOVE: +#if !defined(_WIN32_WCE) if (!(GetWindowLong(hWnd, GWL_STYLE) & - (WS_MAXIMIZE | WS_MINIMIZE))) { + (WS_MAXIMIZE | WS_MINIMIZE))) +#endif + { RECT rc; GetWindowRect(hWnd, &rc); np2oscfg.winx = rc.left;