]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/caret.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/caret.h
3 // Purpose: wxCaret class - the MSW implementation of wxCaret
4 // Author: Vadim Zeitlin
7 // Copyright: (c) wxWidgets team
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
14 class WXDLLIMPEXP_CORE wxCaret
: public wxCaretBase
18 // create the caret of given (in pixels) width and height and associate
19 // with the given window
20 wxCaret(wxWindow
*window
, int width
, int height
)
24 (void)Create(window
, width
, height
);
27 wxCaret(wxWindowBase
*window
, const wxSize
& size
)
31 (void)Create(window
, size
);
34 // process wxWindow notifications
35 virtual void OnSetFocus();
36 virtual void OnKillFocus();
46 // override base class virtuals
47 virtual void DoMove();
48 virtual void DoShow();
49 virtual void DoHide();
50 virtual void DoSize();
52 // helper function which creates the system caret
53 bool MSWCreateCaret();
58 wxDECLARE_NO_COPY_CLASS(wxCaret
);
61 #endif // _WX_CARET_H_