X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2d5a7ee008faae08694abd039f7da235da8bce5..e78d4a23c27aa9b5e826d56c76c80d46d67812c1:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index d15f9a208e..2218c201e9 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -86,6 +86,7 @@ public: virtual bool Enable( bool enable = TRUE ); virtual void SetFocus(); + virtual void SetFocusFromKbd(); virtual bool Reparent(wxWindowBase *newParent); @@ -341,7 +342,7 @@ public: bool HandleQueryNewPalette(); bool HandleSysColorChange(); bool HandleDisplayChange(); - + bool HandleCaptureChanged(WXHWND gainedCapture); bool HandleQueryEndSession(long logOff, bool *mayEnd); bool HandleEndSession(bool endSession, long logOff); @@ -419,6 +420,7 @@ protected: bool m_backgroundTransparent:1; bool m_mouseInWindow:1; bool m_doubleClickAllowed:1; + bool m_lastKeydownProcessed:1; // the size of one page for scrolling int m_xThumbSize; @@ -446,7 +448,7 @@ protected: 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 @@ -458,7 +460,8 @@ protected: #endif // wxUSE_TOOLTIPS // the helper functions used by HandleChar/KeyXXX methods - wxKeyEvent CreateKeyEvent(wxEventType evType, int id, WXLPARAM lp) const; + wxKeyEvent CreateKeyEvent(wxEventType evType, int id, + WXLPARAM lParam = 0, WXWPARAM wParam = 0) const; private: // common part of all ctors