Remove pointless #ifdef __APPLE__ around CmdDown()
The entire point of CmdDown is that it calls ControlDown on non-OS X, so the ifdefs are completely pointless. Originally committed to SVN as r6412.
This commit is contained in:
parent
7bd0691bd7
commit
ac5af24014
1 changed files with 0 additions and 8 deletions
|
@ -1057,11 +1057,7 @@ void DialogStyleManager::OnKeyDown(wxKeyEvent &event) {
|
|||
|
||||
case 'C' :
|
||||
case 'c' :
|
||||
#ifdef __APPLE__
|
||||
if (event.CmdDown()) {
|
||||
#else
|
||||
if (event.ControlDown()) {
|
||||
#endif
|
||||
if (wxWindow::FindFocus()==CurrentList) {
|
||||
CopyToClipboard(CurrentList,styleMap);
|
||||
}
|
||||
|
@ -1073,11 +1069,7 @@ void DialogStyleManager::OnKeyDown(wxKeyEvent &event) {
|
|||
|
||||
case 'V' :
|
||||
case 'v' :
|
||||
#ifdef __APPLE__
|
||||
if (event.CmdDown()) {
|
||||
#else
|
||||
if (event.ControlDown()) {
|
||||
#endif
|
||||
if (wxWindow::FindFocus()==CurrentList) {
|
||||
PasteToCurrent();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue