]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/caret.h
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxCaret class - the MSW implementation of wxCaret
4 // Author: Vadim Zeitlin
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
15 class WXDLLEXPORT wxCaret
: public wxCaretBase
19 // create the caret of given (in pixels) width and height and associate
20 // with the given window
21 wxCaret(wxWindow
*window
, int width
, int height
)
25 (void)Create(window
, width
, height
);
28 wxCaret(wxWindowBase
*window
, const wxSize
& size
)
32 (void)Create(window
, size
);
35 // process wxWindow notifications
36 virtual void OnSetFocus();
37 virtual void OnKillFocus();
47 // override base class virtuals
48 virtual void DoMove();
49 virtual void DoShow();
50 virtual void DoHide();
51 virtual void DoSize();
53 // helper function which creates the system caret
54 bool MSWCreateCaret();
59 DECLARE_NO_COPY_CLASS(wxCaret
)
62 #endif // _WX_CARET_H_