// declarations
// ============================================================================
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "textctrl.h"
#endif
// ----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxControl)
+/*
+ TODO PROPERTIES :
+ value
+*/
BEGIN_EVENT_TABLE(wxTextCtrl, wxControl)
EVT_CHAR(wxTextCtrl::OnChar)
{
DoWriteText(value, FALSE /* not selection only */);
}
+ else // same text
+ {
+ // still send an event for consistency
+ SendUpdateEvent();
+ }
// we should reset the modified flag even if the value didn't really change