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 // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
enum
{
wxFC_OPEN = 0x0001,
wxFC_SAVE = 0x0002,
wxFC_MULTIPLE = 0x0004,
wxFC_NOSHOWHIDDEN = 0x0008
};
#define wxFC_DEFAULT_STYLE wxFC_OPEN
/** /**
@class wxFileCtrl @class wxFileCtrl
@@ -169,6 +179,16 @@ public:
*/ */
virtual bool SetFilename(const wxString& filename); 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. 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 @class wxFileCtrlEvent

View File

@@ -34,6 +34,8 @@ public:
*/ */
wxTipProvider(size_t currentTip); wxTipProvider(size_t currentTip);
virtual ~wxTipProvider();
/** /**
Returns the index of the current tip (i.e. the one which would be returned by GetTip()). Returns the index of the current tip (i.e. the one which would be returned by GetTip()).
@@ -60,7 +62,7 @@ public:
modification to the string. If you return wxEmptyString, then this tip is modification to the string. If you return wxEmptyString, then this tip is
skipped, and the next one is read. skipped, and the next one is read.
*/ */
virtual wxString PreProcessTip(const wxString& tip); virtual wxString PreprocessTip(const wxString& tip);
}; };