X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43c48e1e53d74cef62d15f08f015d9efeb45a0c1..89a7e1ff98e58687eef2bf8ec94bf7190208167f:/interface/wx/filectrl.h?ds=sidebyside diff --git a/interface/wx/filectrl.h b/interface/wx/filectrl.h index 72149989d5..56be6351e8 100644 --- a/interface/wx/filectrl.h +++ b/interface/wx/filectrl.h @@ -30,8 +30,7 @@ Hides the "Show Hidden Files" checkbox (Generic only) @endStyleTable - - @beginEventTable{wxFileCtrlEvent} + @beginEventEmissionTable{wxFileCtrlEvent} @event{EVT_FILECTRL_FILEACTIVATED(id, func)} The user activated a file(by double-clicking or pressing Enter) @event{EVT_FILECTRL_SELECTIONCHANGED(id, func)} @@ -40,14 +39,15 @@ The current folder of the file control has been changed @endEventTable - @nativeimpl{wxgtk} - @library{wxbase} - @category{miscwnd} + @category{ctrl} + @appearance{filectrl.png} + + @nativeimpl{wxgtk} @see wxGenericDirCtrl */ -class wxFileCtrl : public wxWindow +class wxFileCtrl : public wxControl { public: wxFileCtrl(); @@ -88,7 +88,7 @@ public: long style = wxFC_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - const wxString& name = "filectrl"); + const wxString& name = wxFileCtrlNameStr); /** Create function for two-step construction. See wxFileCtrl() for details. @@ -206,7 +206,7 @@ public: /** Constructor. */ - wxFileCtrlEvent(wxEventType type, wxObject evtObject, int id); + wxFileCtrlEvent(wxEventType type, wxObject *evtObject, int id); /** Returns the current directory.