X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d86a2d45c1c08cbd64ca1f619b1adeb2c390665..c74b77ed51e23e2a8374e047c7f9fe3fa855058b:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index d322098a87..520e9db2a9 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -166,6 +166,9 @@ public: void AssociateHandle(WXWidget handle); void DissociateHandle(); + // does this window have deferred position and/or size? + bool IsSizeDeferred() const; + // implementation from now on // ========================== @@ -458,7 +461,10 @@ protected: // 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) - void DoMoveSibling(WXHWND hwnd, int x, int y, int width, int height); + // + // 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 @@ -485,6 +491,9 @@ protected: // the background, false otherwise (i.e. the system should erase it) bool DoEraseBackground(WXHDC hDC); + // generate WM_UPDATEUISTATE if it's needed for the OS we're running under + void MSWUpdateUIState(); + private: // common part of all ctors void Init();