projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the wxDirExists() function so that if asked about the root directory of a drive...
[wxWidgets.git]
/
src
/
gtk1
/
accel.cpp
diff --git
a/src/gtk1/accel.cpp
b/src/gtk1/accel.cpp
index 9b861acb2042ab792355728057b49586b5ed8a8b..f3f9ba6a686cf67876361ab94261dd6d13f27b33 100644
(file)
--- a/
src/gtk1/accel.cpp
+++ b/
src/gtk1/accel.cpp
@@
-53,7
+53,7
@@
wxAcceleratorTable::wxAcceleratorTable( int n, wxAcceleratorEntry entries[] )
int flag = entries[i].GetFlags();
int keycode = entries[i].GetKeyCode();
int command = entries[i].GetCommand();
int flag = entries[i].GetFlags();
int keycode = entries[i].GetKeyCode();
int command = entries[i].GetCommand();
- if ((keycode >= (int)'
A') && (keycode <= (int)'Z')) keycode = (int)tolow
er( (char)keycode );
+ if ((keycode >= (int)'
a') && (keycode <= (int)'z')) keycode = (int)toupp
er( (char)keycode );
M_ACCELDATA->m_accels.Append( new wxAcceleratorEntry( flag, keycode, command ) );
}
}
M_ACCELDATA->m_accels.Append( new wxAcceleratorEntry( flag, keycode, command ) );
}
}