Getting window size...

… after creating it using the Ph_WM_STATE_ISMAX = Pt_TRUE flag?
Getting the window size returns w=94, h=23, no matter how big or how small the window is.
The same PtGetResource() call works good on a window created using the Pt_ARG_DIM resource.

Thank you,
Martin