X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fce89b9441f5a7c885086af6e0d1bf981156c49..d68d85908b4f6073ae1c100abe3d9469fcd451d9:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index e0ea296ae2..9debc5b90a 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -24,19 +24,20 @@ #pragma hdrstop #endif +#include "wx/event.h" + #ifndef WX_PRECOMP - #include "wx/app.h" #include "wx/list.h" + #include "wx/app.h" + #include "wx/utils.h" #if wxUSE_GUI #include "wx/control.h" - #include "wx/utils.h" #include "wx/dc.h" #include "wx/textctrl.h" #endif // wxUSE_GUI #endif -#include "wx/event.h" #include "wx/module.h" #if wxUSE_GUI @@ -736,10 +737,12 @@ wxKeyEvent::wxKeyEvent(const wxKeyEvent& evt) #endif } +#if WXWIN_COMPATIBILITY_2_6 long wxKeyEvent::KeyCode() const { return m_keyCode; } +#endif // WXWIN_COMPATIBILITY_2_6 wxWindowCreateEvent::wxWindowCreateEvent(wxWindow *win) {