X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82a5f02c861e8d57ba8255a9553b941118ad4520..bdfeadcac50e7b4b631a3f6e8c42d2db4e594639:/src/generic/laywin.cpp diff --git a/src/generic/laywin.cpp b/src/generic/laywin.cpp index 26fb6fdf52..da48775938 100644 --- a/src/generic/laywin.cpp +++ b/src/generic/laywin.cpp @@ -33,8 +33,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxQueryLayoutInfoEvent, wxEvent) IMPLEMENT_DYNAMIC_CLASS(wxCalculateLayoutEvent, wxEvent) -const int wxEVT_QUERY_LAYOUT_INFO = wxNewEventType(); -const int wxEVT_CALCULATE_LAYOUT = wxNewEventType(); +DEFINE_EVENT_TYPE(wxEVT_QUERY_LAYOUT_INFO) +DEFINE_EVENT_TYPE(wxEVT_CALCULATE_LAYOUT) #if wxUSE_SASH IMPLEMENT_CLASS(wxSashLayoutWindow, wxSashWindow)