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:
Thomas Goyne 2012-02-01 00:48:16 +00:00
parent 7bd0691bd7
commit ac5af24014

View file

@ -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();
}