X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67644c1dd83f2d025e061b84811eb9ba5612fd98..e7c240da70308b5e54bf8bcc9813b5c4e4fece4d:/include/wx/msw/window.h?ds=sidebyside diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 218bd938bd..d322098a87 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -391,6 +391,14 @@ public: return false; } + // some controls (e.g. wxListBox) need to set the return value themselves + // + // return true to let parent handle it if we don't, false otherwise + virtual bool MSWShouldPropagatePrintChild() + { + return true; + } + // Responds to colour changes: passes event on to children. void OnSysColourChanged(wxSysColourChangedEvent& event); @@ -447,6 +455,11 @@ 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) + void 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