X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e951b8e4e6c07fe5d5200b8cbf6148e7317aa0e5..01526d4f6cd7dd242e561aa24066f8ca0290a9ac:/include/wx/msw/window.h?ds=sidebyside diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 4469b413f4..fe646444e4 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -174,10 +174,6 @@ public: #endif public: - // For implementation purposes - sometimes decorations make the client area - // smaller - virtual wxPoint GetClientAreaOrigin() const; - // Windows subclassing void SubclassWin(WXHWND hWnd); void UnsubclassWin(); @@ -411,6 +407,9 @@ public: // check if mouse is in the window bool IsMouseInWindow() const; + // synthesize a wxEVT_LEAVE_WINDOW event and set m_mouseInWindow to false + void GenerateMouseLeave(); + // virtual function for implementing internal idle // behaviour virtual void OnInternalIdle() ; @@ -437,8 +436,6 @@ protected: int m_lastMouseEvent; #endif // wxUSE_MOUSEEVENT_HACK - WXHMENU m_hMenu; // Menu, if any - // implement the base class pure virtuals virtual void DoClientToScreen( int *x, int *y ) const; virtual void DoScreenToClient( int *x, int *y ) const; @@ -476,6 +473,11 @@ protected: wxKeyEvent CreateKeyEvent(wxEventType evType, int id, WXLPARAM lParam = 0, WXWPARAM wParam = 0) const; + + // default OnEraseBackground() implementation, return true if we did erase + // the background, false otherwise + bool DoEraseBackground(wxDC& dc); + private: // common part of all ctors void Init(); @@ -495,6 +497,10 @@ private: // number of calls to Freeze() minus number of calls to Thaw() unsigned int m_frozenness; + // current defer window position operation handle (may be NULL) + WXHANDLE m_hDWP; + + DECLARE_DYNAMIC_CLASS(wxWindowMSW) DECLARE_NO_COPY_CLASS(wxWindowMSW) DECLARE_EVENT_TABLE()