X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..1e6d94998fcbdb3ce60774e38c0d4b6ee20c6798:/include/wx/msw/textctrl.h?ds=sidebyside diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 1e8e351f02..5a3c475644 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -18,7 +18,7 @@ #include "wx/control.h" -#if USE_IOSTREAMH +#if wxUSE_IOSTREAMH #include #else #include @@ -81,6 +81,9 @@ public: // operations // ---------- virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + void SetSize(const wxSize& size) { wxWindow::SetSize(size); } // Clipboard operations virtual void Copy(); @@ -147,7 +150,7 @@ public: protected: bool m_isRich; // Are we using rich text edit to implement this? - wxString fileName; + wxString m_fileName; DECLARE_EVENT_TABLE() };