#ifndef _WX_CARET_H_BASE_
#define _WX_CARET_H_BASE_
+#ifdef __GNUG__
+#pragma interface "caret.h"
+#endif
+
// ---------------------------------------------------------------------------
// forward declarations
// ---------------------------------------------------------------------------
// get the window we're associated with
wxWindow *GetWindow() const { return (wxWindow *)m_window; }
+ // change the size of the caret
+ void SetSize(int width, int height) { m_width = width; m_height = height; }
+ void SetSize(const wxSize& size) { SetSize(size.x, size.y); }
+
+
// operations
// ----------
#if defined(__WXMSW__)
#include "wx/msw/caret.h"
-#elif defined(__WXPM__)
- #include "wx/os2/caret.h"
#else
#include "wx/generic/caret.h"
#endif // platform