]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/laywin.h
centralized Esc key handling for closing the dialogs in wxDialogBase:
[wxWidgets.git] / include / wx / generic / laywin.h
index c894bd476c29b8ca8569ee80d341cc8ae51850e2..b2ffb7e53699bc761bcb9c69147c1dcf3a81e84c 100644 (file)
@@ -19,6 +19,8 @@
     #include "wx/sashwin.h"
 #endif // wxUSE_SASH
 
+#include "wx/event.h"
+
 BEGIN_DECLARE_EVENT_TYPES()
     DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_ADV, wxEVT_QUERY_LAYOUT_INFO, 1500)
     DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_ADV, wxEVT_CALCULATE_LAYOUT, 1501)