#ifndef _WX_CARET_H_
#define _WX_CARET_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "caret.h"
#endif
// same as above
wxCaret(wxWindowBase *window, const wxSize& size)
{
- wxCaretBase::Init();
+ Init();
(void)Create(window, size);
}
virtual void DoMove();
virtual void DoShow();
virtual void DoHide();
+ virtual void DoSize();
// helper function which creates the system caret
bool MSWCreateCaret();
private:
bool m_hasCaret;
+
+ DECLARE_NO_COPY_CLASS(wxCaret)
};
#endif // _WX_CARET_H_