]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix missing and broken interface items for Phoenix
authorRobin Dunn <robin@alldunn.com>
Tue, 17 Apr 2012 17:00:36 +0000 (17:00 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 17 Apr 2012 17:00:36 +0000 (17:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/filectrl.h
interface/wx/tipdlg.h

index 8fe4b77f55b738ebdb4816a96071afe4c8d004b9..03da7c855797a96ae73dd7f4268ce37c2d28bd3d 100644 (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
index a7e0d49f7d356721777654f62554d05546d91101..2b8cbf984a3d7dec946e7d530d7d9868b8e0c426 100644 (file)
@@ -34,6 +34,8 @@ public:
     */
     wxTipProvider(size_t currentTip);
 
+    virtual ~wxTipProvider();
+
     /**
         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
         skipped, and the next one is read.
     */
-    virtual wxString PreProcessTip(const wxString& tip);
+    virtual wxString PreprocessTip(const wxString& tip);
 };