X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23318a5358be74727fb62854f623da84a4545bcd..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/common/filectrlcmn.cpp diff --git a/src/common/filectrlcmn.cpp b/src/common/filectrlcmn.cpp index 76ef8187f4..13d48ccd92 100644 --- a/src/common/filectrlcmn.cpp +++ b/src/common/filectrlcmn.cpp @@ -25,9 +25,9 @@ const char wxFileCtrlNameStr[] = "wxfilectrl"; -DEFINE_EVENT_TYPE( wxEVT_FILECTRL_SELECTIONCHANGED ) -DEFINE_EVENT_TYPE( wxEVT_FILECTRL_FILEACTIVATED ) -DEFINE_EVENT_TYPE( wxEVT_FILECTRL_FOLDERCHANGED ) +wxDEFINE_EVENT( wxEVT_FILECTRL_SELECTIONCHANGED, wxFileCtrlEvent ) +wxDEFINE_EVENT( wxEVT_FILECTRL_FILEACTIVATED, wxFileCtrlEvent ) +wxDEFINE_EVENT( wxEVT_FILECTRL_FOLDERCHANGED, wxFileCtrlEvent ) IMPLEMENT_DYNAMIC_CLASS( wxFileCtrlEvent, wxCommandEvent )