]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
added generic version of wxDatePickerCtrl from Andres Pflug
[wxWidgets.git] / src / msw / textctrl.cpp
index bf6b78b8365796dd13e259d09f08bc73b7f2b64a..4a2c859fe7b75f5a9f3a696a0bac9c7240b7500a 100644 (file)
@@ -39,6 +39,7 @@
     #include "wx/log.h"
     #include "wx/app.h"
     #include "wx/menu.h"
+    #include "wx/math.h"
 #endif
 
 #include "wx/module.h"
@@ -1835,7 +1836,6 @@ bool wxTextCtrl::SendUpdateEvent()
 
     wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, GetId());
     InitCommandEvent(event);
-    event.SetString(GetValue());
 
     return ProcessCommand(event);
 }