X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5625d0d4cae9261e1571220f883b7b6c9ddb01f8..c7564c6ac9bacdee10baf38a10ac36afcfa7ce45:/src/univ/textctrl.cpp diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index 3559305bc5..8de05acfcd 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -125,16 +125,16 @@ #if wxUSE_TEXTCTRL -#include +#include "wx/textctrl.h" #ifndef WX_PRECOMP #include "wx/log.h" - #include "wx/dcclient.h" #include "wx/validate.h" - #include "wx/textctrl.h" #endif +#include + #include "wx/clipbrd.h" #include "wx/textfile.h" @@ -606,13 +606,13 @@ private: // implementation // ============================================================================ -BEGIN_EVENT_TABLE(wxTextCtrl, wxControl) +BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase) EVT_CHAR(wxTextCtrl::OnChar) EVT_SIZE(wxTextCtrl::OnSize) END_EVENT_TABLE() -IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase) // ---------------------------------------------------------------------------- // creation