]>
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) wxWindows team 
   9 // Licence:     wxWindows licence 
  10 /////////////////////////////////////////////////////////////////////////////// 
  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(); 
  64 #endif // _WX_CARET_H_