X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ec6fd04ebd5f37220cb0d4d7c6d7256af50aee7..1fe0a566bbf649efe7cadc21e8ded82458c8bdc6:/src/motif/accel.cpp diff --git a/src/motif/accel.cpp b/src/motif/accel.cpp index 5ea448aec6..e3d7e23be3 100644 --- a/src/motif/accel.cpp +++ b/src/motif/accel.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: accel.cpp +// Name: src/motif/accel.cpp // Purpose: wxAcceleratorTable // Author: Julian Smart // Modified by: @@ -9,14 +9,16 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "accel.h" -#endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" -#include "wx/setup.h" #include "wx/accel.h" -#include "wx/string.h" -#include "wx/utils.h" + +#ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/utils.h" +#endif + #include IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject) @@ -113,4 +115,3 @@ bool wxAcceleratorEntry::MatchesEvent(const wxKeyEvent& event) const (eventShiftDown == accShiftDown) && ((eventKeyCode == accKeyCode || eventKeyCode == accKeyCode2))) ; } -