Fix missing and broken interface items for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-04-17 17:00:36 +00:00
parent 38274d1de3
commit 34a9a3528f
2 changed files with 28 additions and 1 deletions

View File

@@ -6,6 +6,16 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
enum
{
wxFC_OPEN = 0x0001,
wxFC_SAVE = 0x0002,
wxFC_MULTIPLE = 0x0004,
wxFC_NOSHOWHIDDEN = 0x0008
};
#define wxFC_DEFAULT_STYLE wxFC_OPEN
/**
@class wxFileCtrl
@@ -169,6 +179,16 @@ public:
*/
virtual bool SetFilename(const wxString& filename);
/**
Changes to a certain directory and selects a certain file.
In case the filename specified isn't found/couldn't be shown with
currently selected filter, false is returned.
@return Returns @true on success, @false otherwise
*/
virtual bool SetPath(const wxString& path);
/**
Sets the current filter index, starting from zero.
*/
@@ -187,6 +207,11 @@ public:
};
wxEventType wxEVT_FILECTRL_SELECTIONCHANGED;
wxEventType wxEVT_FILECTRL_FILEACTIVATED;
wxEventType wxEVT_FILECTRL_FOLDERCHANGED;
wxEventType wxEVT_FILECTRL_FILTERCHANGED;
/**
@class wxFileCtrlEvent