]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/filepicker.h
Implement monitoring of file descriptors in wxMotif event loop.
[wxWidgets.git] / interface / wx / filepicker.h
index 3053fcefc38c3e32856293d9fb4b768242a16d00..de2f816fa3cfafe2c491aaa3d2ae88fd04678378 100644 (file)
@@ -6,6 +6,25 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#define wxFLP_OPEN                    0x0400
+#define wxFLP_SAVE                    0x0800
+#define wxFLP_OVERWRITE_PROMPT        0x1000
+#define wxFLP_FILE_MUST_EXIST         0x2000
+#define wxFLP_CHANGE_DIR              0x4000
+#define wxFLP_SMALL                   wxPB_SMALL
+#define wxFLP_USE_TEXTCTRL            (wxPB_USE_TEXTCTRL)
+#define wxFLP_DEFAULT_STYLE           (wxFLP_OPEN|wxFLP_FILE_MUST_EXIST)
+
+#define wxDIRP_DIR_MUST_EXIST         0x0008
+#define wxDIRP_CHANGE_DIR             0x0010
+#define wxDIRP_SMALL                  wxPB_SMALL
+#define wxDIRP_USE_TEXTCTRL           (wxPB_USE_TEXTCTRL)
+#define wxDIRP_DEFAULT_STYLE          (wxDIRP_DIR_MUST_EXIST)
+
+wxEventType wxEVT_FILEPICKER_CHANGED;
+wxEventType wxEVT_DIRPICKER_CHANGED;
+
+
 /**
     @class wxFilePickerCtrl
 
 
     @library{wxcore}
     @category{pickers}
-    @appearance{filepickerctrl.png}
+    @appearance{filepickerctrl}
 
     @see wxFileDialog, wxFileDirPickerEvent
 */
 class wxFilePickerCtrl : public wxPickerBase
 {
 public:
+    wxFilePickerCtrl();
+    
     /**
         Initializes the object and calls Create() with
         all the parameters.
@@ -194,13 +215,15 @@ public:
 
     @library{wxcore}
     @category{pickers}
-    @appearance{dirpickerctrl.png}
+    @appearance{dirpickerctrl}
 
     @see wxDirDialog, wxFileDirPickerEvent
 */
 class wxDirPickerCtrl : public wxPickerBase
 {
 public:
+    wxDirPickerCtrl();
+    
     /**
         Initializes the object and calls Create() with
         all the parameters.
@@ -281,8 +304,8 @@ public:
     void SetInitialDirectory(const wxString& dir);
 
     /**
-        Sets the absolute path of  (the default converter uses current locale's
-        charset)the currently selected directory.
+        Sets the absolute path of the currently selected directory (the default converter uses current locale's
+        charset).
         This must be a valid directory if @c wxDIRP_DIR_MUST_EXIST style was given.
     */
     void SetPath(const wxString& dirname);
@@ -311,6 +334,8 @@ public:
 class wxFileDirPickerEvent : public wxCommandEvent
 {
 public:
+    wxFileDirPickerEvent();
+
     /**
         The constructor is not normally used by the user code.
     */