projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix to FIXME: better nothing than broken comparison.
[wxWidgets.git]
/
src
/
common
/
variant.cpp
diff --git
a/src/common/variant.cpp
b/src/common/variant.cpp
index 6004fee34e15615306226271f4947ab321dbafbb..6df6999ab156392f7fd7e4282070fd0d1779805b 100644
(file)
--- a/
src/common/variant.cpp
+++ b/
src/common/variant.cpp
@@
-29,6
+29,7
@@
#endif
#if defined(__MWERKS__) && __MSL__ >= 0x6000
+namespace std {}
using namespace std ;
#endif
@@
-705,7
+706,7
@@
bool wxVariantDataChar::Read(wxInputStream& str)
bool wxVariantDataChar::Read(wxString& str)
{
- m_value = str
[(size_t)0
];
+ m_value = str
.ToAscii()[0u
];
return true;
}