#include <wtime.h>
#endif
+#include "wx/datetime.h"
+
// the suffix we add to the button to show that the dialog can be expanded
#define EXPAND_SUFFIX _T(" >>")
// remove selection (WriteText is in fact ReplaceSelection)
#ifdef __WXMSW__
- long nLen = pText->GetLastPosition();
+ wxTextPos nLen = pText->GetLastPosition();
pText->SetSelection(nLen, nLen);
#endif // Windows
if ( !fmt )
{
// default format
- fmt = _T("%c");
+ fmt = wxDefaultDateTimeFormat;
}
size_t count = m_messages.GetCount();
if ( !fmt )
{
// default format
- fmt = _T("%c");
+ fmt = wxDefaultDateTimeFormat;
}
size_t count = m_messages.GetCount();