X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b82138efe9aacda4e0ad7ce4b1551d624524c4..29ea4a290850e9ae79c258774fa22153a951ff7f:/include/wx/textctrl.h diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 77500f4a5d..1718f73664 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -28,7 +28,7 @@ #endif #ifndef NO_TEXT_WINDOW_STREAM - #ifdef wxUSE_STD_IOSTREAM + #if wxUSE_STD_IOSTREAM #include "ioswrap.h" // for iostream classes if we need them #else // !wxUSE_STD_IOSTREAM // can't compile this feature in if we don't use streams at all @@ -36,6 +36,8 @@ #endif // wxUSE_STD_IOSTREAM/!wxUSE_STD_IOSTREAM #endif +class WXDLLEXPORT wxTextCtrl; + // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -100,7 +102,7 @@ public: // considering all its contents as a single strings) and (x, y) coordinates // which represent column and line. virtual long XYToPosition(long x, long y) const = 0; - virtual void PositionToXY(long pos, long *x, long *y) const = 0; + virtual bool PositionToXY(long pos, long *x, long *y) const = 0; virtual void ShowPosition(long pos) = 0;