X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..a84d5f9da10b3bed2a1421dd8db0e3fdc0d35daa:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 8f549b94d6..bfd3cc190f 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -13,17 +13,6 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -// --------------------------------------------------------------------------- -// headers -// --------------------------------------------------------------------------- - -// [at least] some version of Windows send extra mouse move messages after -// a mouse click or a key press - to temporarily fix this problem, set the -// define below to 1 -// -// a better solution should be found later... -#define wxUSE_MOUSEEVENT_HACK 0 - // --------------------------------------------------------------------------- // constants // --------------------------------------------------------------------------- @@ -430,13 +419,6 @@ protected: int m_xThumbSize; int m_yThumbSize; -#if wxUSE_MOUSEEVENT_HACK - // the coordinates of the last mouse event and the type of it - long m_lastMouseX, - m_lastMouseY; - int m_lastMouseEvent; -#endif // wxUSE_MOUSEEVENT_HACK - // implement the base class pure virtuals virtual void DoClientToScreen( int *x, int *y ) const; virtual void DoScreenToClient( int *x, int *y ) const; @@ -488,7 +470,9 @@ protected: bool DoEraseBackground(WXHDC hDC); // generate WM_UPDATEUISTATE if it's needed for the OS we're running under - void MSWUpdateUIState(); + // + // the parameter should be one of UIS_XXX constants + void MSWUpdateUIState(int action); private: // common part of all ctors