]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/caret.h
1a996fefc97f1143ecfc60d662f543c9d7e3efc2
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "caret.h"
19 class WXDLLEXPORT wxCaret
: public wxCaretBase
23 // create the caret of given (in pixels) width and height and associate
24 // with the given window
25 wxCaret(wxWindow
*window
, int width
, int height
)
29 (void)Create(window
, width
, height
);
32 wxCaret(wxWindowBase
*window
, const wxSize
& size
)
36 (void)Create(window
, size
);
39 // process wxWindow notifications
40 virtual void OnSetFocus();
41 virtual void OnKillFocus();
51 // override base class virtuals
52 virtual void DoMove();
53 virtual void DoShow();
54 virtual void DoHide();
55 virtual void DoSize();
57 // helper function which creates the system caret
58 bool MSWCreateCaret();
63 DECLARE_NO_COPY_CLASS(wxCaret
)
66 #endif // _WX_CARET_H_