X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57be9aac75e181c199335802a60811c94665d042..01526d4f6cd7dd242e561aa24066f8ca0290a9ac:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index a4ce110bc6..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() ; @@ -474,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(); @@ -493,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()