X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce0e1aacbc0d79a06a570d598327dff1cfe38fb9..285ba64d0d7e66faae78d357af1cc5386571b654:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 39ba4694f7..30d25ba4b7 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -455,6 +455,14 @@ protected: // has the window been frozen by Freeze()? bool IsFrozen() const { return m_frozenness > 0; } + // this simply moves/resizes the given HWND which is supposed to be our + // sibling (this is useful for controls which are composite at MSW level + // and for which DoMoveWindow() is not enough) + // + // returns true if the window move was deferred, false if it was moved + // immediately (no error return) + bool DoMoveSibling(WXHWND hwnd, int x, int y, int width, int height); + // move the window to the specified location and resize it: this is called // from both DoSetSize() and DoSetClientSize() and would usually just call // ::MoveWindow() except for composite controls which will want to arrange