X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fabb57533169f2f75367e0d120c762518548890..e35d0039d37b1b785aab12d8ef55507d7879c232:/include/wx/msw/textctrl.h diff --git a/include/wx/msw/textctrl.h b/include/wx/msw/textctrl.h index 5a3c475644..3764644be4 100644 --- a/include/wx/msw/textctrl.h +++ b/include/wx/msw/textctrl.h @@ -34,7 +34,7 @@ class WXDLLEXPORT wxTextCtrl: public wxControl // it complains about deriving a huge class from the huge class streambuf. !! // Also, can't use streambuf if making or using a DLL :-( -#if (defined(__BORLANDC__) && !defined(__WIN32__)) || defined(__MWERKS__) || defined(_WINDLL) || defined(WXUSINGDLL) || defined(WXMAKINGDLL) +#if (defined(__BORLANDC__)) || defined(__MWERKS__) || defined(_WINDLL) || defined(WXUSINGDLL) || defined(WXMAKINGDLL) #define NO_TEXT_WINDOW_STREAM #endif @@ -65,7 +65,7 @@ public: bool Create(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, long style = 0, + const wxSize& size = wxDefaultSize, long style = wxTE_PROCESS_TAB, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxTextCtrlNameStr);