virtual bool Enable( bool enable = TRUE );
virtual void SetFocus();
+ virtual void SetFocusFromKbd();
virtual bool Reparent(wxWindowBase *newParent);
bool HandleQueryNewPalette();
bool HandleSysColorChange();
bool HandleDisplayChange();
-
+ bool HandleCaptureChanged(WXHWND gainedCapture);
bool HandleQueryEndSession(long logOff, bool *mayEnd);
bool HandleEndSession(bool endSession, long logOff);
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;
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
#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