projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. added default constructors for wxString iterators
[wxWidgets.git]
/
src
/
generic
/
gridctrl.cpp
diff --git
a/src/generic/gridctrl.cpp
b/src/generic/gridctrl.cpp
index 1dd5e68813fb18a0f7e44b5a0a0dc64db7deb35a..e8da62f5646114d32e8b766d8fcc3ba95155833d 100644
(file)
--- a/
src/generic/gridctrl.cpp
+++ b/
src/generic/gridctrl.cpp
@@
-76,7
+76,7
@@
wxString wxGridCellDateTimeRenderer::GetString(const wxGrid& grid, int row, int
if (!hasDatetime )
{
text = table->GetValue(row, col);
if (!hasDatetime )
{
text = table->GetValue(row, col);
- hasDatetime = (val.ParseFormat(
text, m_iformat, m_dateDef
) != (wxChar *)NULL) ;
+ hasDatetime = (val.ParseFormat(
text.c_str(), m_iformat, m_dateDef
) != (wxChar *)NULL) ;
}
if ( hasDatetime )
}
if ( hasDatetime )