]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/caret.h
ops. SetFocus should be public
[wxWidgets.git] / include / wx / caret.h
index bdc4279c56031c6f9b4db4d7def85be84fb5e930..5a2926285a3119e6559f4513da58fb926169a8f8 100644 (file)
 #ifndef _WX_CARET_H_BASE_
 #define _WX_CARET_H_BASE_
 
+#ifdef __GNUG__
+#pragma interface "caret.h"
+#endif
+
 // ---------------------------------------------------------------------------
 // forward declarations
 // ---------------------------------------------------------------------------
@@ -91,6 +95,11 @@ public:
         // 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
     // ----------
 
@@ -178,8 +187,6 @@ private:
 
 #if defined(__WXMSW__)
     #include "wx/msw/caret.h"
-#elif  defined(__WXPM__)
-    #include "wx/os2/caret.h"
 #else
     #include "wx/generic/caret.h"
 #endif // platform