]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/textctrl.cpp
Changes to allow Cygwin to compile in non-PCH mode
[wxWidgets.git] / src / stubs / textctrl.cpp
index fb522df053e0a2194d09960b39f1ab56b0692330..6083ace113eb3907d59ff34cb95513b1e75af78d 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "wx/textctrl.h"
 #include "wx/settings.h"
+#include "wx/filefn.h"
+#include "wx/utils.h"
 
 #if defined(__BORLANDC__) && !defined(__WIN32__)
 #include <alloc.h>
@@ -32,9 +34,7 @@
 IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
 
 BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
-       EVT_CHAR(wxTextCtrl::OnChar)
        EVT_DROP_FILES(wxTextCtrl::OnDropFiles)
-       EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground)
 END_EVENT_TABLE()
 #endif
 
@@ -132,7 +132,6 @@ long wxTextCtrl::GetLastPosition() const
 void wxTextCtrl::Replace(long from, long to, const wxString& value)
 {
     // TODO
-    return 0;
 }
 
 void wxTextCtrl::Remove(long from, long to)