X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7e0024b09f3141bc0c14e74b376cd2fb9567335..a84d5f9da10b3bed2a1421dd8db0e3fdc0d35daa:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 520e9db2a9..bfd3cc190f 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -13,21 +13,6 @@ #ifndef _WX_WINDOW_H_ #define _WX_WINDOW_H_ -// --------------------------------------------------------------------------- -// headers -// --------------------------------------------------------------------------- - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "window.h" -#endif - -// [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 // --------------------------------------------------------------------------- @@ -434,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; @@ -492,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