X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8aa04e8bf1638ed4d9355e560c8d718c8be4667a..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/motif/accel.cpp?ds=sidebyside diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index ca8624f3e7..1a24c747b2 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -61,7 +61,7 @@ wxAcceleratorTable::~wxAcceleratorTable() } // Load from .rc resource -wxAcceleratorTable::wxAcceleratorTable(const wxString& resource) +wxAcceleratorTable::wxAcceleratorTable(const wxString& WXUNUSED(resource)) { m_refData = new wxAcceleratorRefData; } @@ -109,10 +109,10 @@ bool wxAcceleratorEntry::MatchesEvent(const wxKeyEvent& event) const int accKeyCode = GetKeyCode(); int accKeyCode2 = GetKeyCode(); if (isascii(accKeyCode2)) - accKeyCode2 = wxToLower(accKeyCode2); + accKeyCode2 = tolower(accKeyCode2); return ((eventAltDown == accAltDown) && (eventCtrlDown == accCtrlDown) && - (eventShiftDown == accShiftDown) && - ((eventKeyCode == accKeyCode || eventKeyCode == accKeyCode2))) ; + (eventShiftDown == accShiftDown) && + ((eventKeyCode == accKeyCode || eventKeyCode == accKeyCode2))) ; }