X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/260020e39271329f71d1ef7912e3dc8216a2e924..b53aea81d2e102224b452ef5bf7aee1132f37c6f:/src/common/filectrlcmn.cpp diff --git a/src/common/filectrlcmn.cpp b/src/common/filectrlcmn.cpp index 17665f27c1..13d48ccd92 100644 --- a/src/common/filectrlcmn.cpp +++ b/src/common/filectrlcmn.cpp @@ -23,11 +23,11 @@ # include "wx/debug.h" #endif -const wxChar wxFileCtrlNameStr[] = wxT( "wxfilectrl" ); +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 )