#endif // wxUSE_STD_IOSTREAM/!wxUSE_STD_IOSTREAM
#endif
+#if defined(__WXMSW__) && defined(__MINGW32__)
+ #include "wx/msw/winundef.h"
+#endif
+
class WXDLLEXPORT wxTextCtrl;
class WXDLLEXPORT wxTextCtrlBase;
WXDLLEXPORT_DATA(extern const wxChar*) wxTextCtrlNameStr;
+// this is intentionally not enum to avoid warning fixes with
+// typecasting from enum type to wxTextCoord
+const wxTextCoord wxOutOfRangeTextCoord = -1;
+const wxTextCoord wxInvalidTextCoord = -2;
+
// ----------------------------------------------------------------------------
// wxTextCtrl style flags
// ----------------------------------------------------------------------------
// creation
// --------
- wxTextCtrlBase();
- ~wxTextCtrlBase();
+ wxTextCtrlBase(){}
+ ~wxTextCtrlBase(){}
// accessors
// ---------
virtual void SetInsertionPoint(long pos) = 0;
virtual void SetInsertionPointEnd() = 0;
virtual long GetInsertionPoint() const = 0;
- virtual long GetLastPosition() const = 0;
+ virtual wxTextPos GetLastPosition() const = 0;
virtual void SetSelection(long from, long to) = 0;
virtual void SelectAll();
#include "wx/x11/textctrl.h"
#elif defined(__WXUNIVERSAL__)
#include "wx/univ/textctrl.h"
-#elif defined(__SMARTPHONE__)
+#elif defined(__SMARTPHONE__) && defined(__WXWINCE__)
#include "wx/msw/wince/textctrlce.h"
#elif defined(__WXMSW__)
#include "wx/msw/textctrl.h"