]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
centralized the handling of border styles; added borders support for wxListBox and...
[wxWidgets.git] / src / common / event.cpp
index e0ea296ae23ed5b35c9f551fb9a15de0925335bb..a4f85d7d61a962a5de7843cb4f4eb4fadfddbb54 100644 (file)
@@ -736,10 +736,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)
 {