projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. small dnd compilation fixes (no attempt to make icon setting work though)
[wxWidgets.git]
/
src
/
common
/
config.cpp
diff --git
a/src/common/config.cpp
b/src/common/config.cpp
index fc96bb57f6e5a423ea7296503739cc86f46dc621..f93307ed0f113c7934dbd2c58c9ce961c5b4ed9e 100644
(file)
--- a/
src/common/config.cpp
+++ b/
src/common/config.cpp
@@
-186,7
+186,7
@@
bool wxConfigBase::Read(const wxString& key, int *pi, int defVal) const
bool wxConfigBase::Write(const wxString& key, double val)
{
wxString str;
bool wxConfigBase::Write(const wxString& key, double val)
{
wxString str;
- str.Printf(
_
T("%f"), val);
+ str.Printf(
wx
T("%f"), val);
return Write(key, str);
}
return Write(key, str);
}
@@
-371,11
+371,11
@@
void wxSplitPath(wxArrayString& aParts, const wxChar *sz)
wxString strCurrent;
const wxChar *pc = sz;
for ( ;; ) {
wxString strCurrent;
const wxChar *pc = sz;
for ( ;; ) {
- if ( *pc ==
_
T('\0') || *pc == wxCONFIG_PATH_SEPARATOR ) {
- if ( strCurrent ==
_
T(".") ) {
+ if ( *pc ==
wx
T('\0') || *pc == wxCONFIG_PATH_SEPARATOR ) {
+ if ( strCurrent ==
wx
T(".") ) {
// ignore
}
// ignore
}
- else if ( strCurrent ==
_
T("..") ) {
+ else if ( strCurrent ==
wx
T("..") ) {
// go up one level
if ( aParts.IsEmpty() )
wxLogWarning(_("'%s' has extra '..', ignored."), sz);
// go up one level
if ( aParts.IsEmpty() )
wxLogWarning(_("'%s' has extra '..', ignored."), sz);
@@
-391,7
+391,7
@@
void wxSplitPath(wxArrayString& aParts, const wxChar *sz)
//else:
// could log an error here, but we prefer to ignore extra '/'
//else:
// could log an error here, but we prefer to ignore extra '/'
- if ( *pc ==
_
T('\0') )
+ if ( *pc ==
wx
T('\0') )
return;
}
else
return;
}
else