X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3adca1e989f5520461c1e63ee6fcafcd0c7cd8e..7bade612f0f138a06f6a53d84220bb9d8ece7662:/src/common/filectrlcmn.cpp?ds=sidebyside diff --git a/src/common/filectrlcmn.cpp b/src/common/filectrlcmn.cpp index d0af51319c..dc9c7bb1e2 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 )