X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ba53034e70495658adbe84265e7fd477e100dc2..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 08a5040efd..feccccf607 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -90,8 +90,6 @@ public: virtual bool Reparent(wxWindowBase *newParent); virtual void WarpPointer(int x, int y); - virtual void CaptureMouse(); - virtual void ReleaseMouse(); virtual void Refresh( bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL ); @@ -333,6 +331,8 @@ public: bool HandlePaletteChanged(WXHWND hWndPalChange); bool HandleQueryNewPalette(); bool HandleSysColorChange(); + bool HandleDisplayChange(); + bool HandleQueryEndSession(long logOff, bool *mayEnd); bool HandleEndSession(bool endSession, long logOff); @@ -375,9 +375,6 @@ public: // called when the window is about to be destroyed virtual void MSWDestroyWindow(); - // Detach "Window" menu from menu bar so it doesn't get deleted - void MSWDetachWindowMenu(); - // this function should return the brush to paint the window background // with or 0 for the default brush virtual WXHBRUSH OnCtlColor(WXHDC hDC, @@ -427,9 +424,6 @@ protected: WXHMENU m_hMenu; // Menu, if any - // the return value of WM_GETDLGCODE handler - long m_lDlgCode; - // implement the base class pure virtuals virtual void DoClientToScreen( int *x, int *y ) const; virtual void DoScreenToClient( int *x, int *y ) const; @@ -441,6 +435,9 @@ protected: int sizeFlags = wxSIZE_AUTO); virtual void DoSetClientSize(int width, int height); + virtual void DoCaptureMouse(); + virtual void DoReleaseMouse(); + // 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