]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/filedlgg.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / generic / filedlgg.h
index 239eea107210357721cc1e0a50b39a610d7f0bb3..2f66fee199c87f3d88440d9c3e59655ecdeba2cb 100644 (file)
@@ -15,6 +15,7 @@
 #include "wx/listctrl.h"
 #include "wx/datetime.h"
 #include "wx/filefn.h"
 #include "wx/listctrl.h"
 #include "wx/datetime.h"
 #include "wx/filefn.h"
+#include "wx/artprov.h"
 #include "wx/filedlg.h"
 #include "wx/generic/filectrlg.h"
 
 #include "wx/filedlg.h"
 #include "wx/generic/filectrlg.h"
 
@@ -31,7 +32,7 @@ class WXDLLIMPEXP_FWD_CORE wxFileCtrlEvent;
 // wxGenericFileDialog
 //-------------------------------------------------------------------------
 
 // wxGenericFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxGenericFileDialog: public wxFileDialogBase
 {
 public:
     wxGenericFileDialog() : wxFileDialogBase() { Init(); }
 {
 public:
     wxGenericFileDialog() : wxFileDialogBase() { Init(); }
@@ -71,17 +72,18 @@ public:
     virtual wxString GetPath() const
         { return m_filectrl->GetPath(); }
     virtual void GetPaths(wxArrayString& paths) const
     virtual wxString GetPath() const
         { return m_filectrl->GetPath(); }
     virtual void GetPaths(wxArrayString& paths) const
-        { return m_filectrl->GetPaths(paths); }
+        { m_filectrl->GetPaths(paths); }
     virtual wxString GetDirectory() const
         { return m_filectrl->GetDirectory(); }
     virtual wxString GetFilename() const
         { return m_filectrl->GetFilename(); }
     virtual void GetFilenames(wxArrayString& files) const
     virtual wxString GetDirectory() const
         { return m_filectrl->GetDirectory(); }
     virtual wxString GetFilename() const
         { return m_filectrl->GetFilename(); }
     virtual void GetFilenames(wxArrayString& files) const
-        { return m_filectrl->GetFilenames(files); }
+        { m_filectrl->GetFilenames(files); }
     virtual wxString GetWildcard() const
         { return m_filectrl->GetWildcard(); }
     virtual int GetFilterIndex() const
         { return m_filectrl->GetFilterIndex(); }
     virtual wxString GetWildcard() const
         { return m_filectrl->GetWildcard(); }
     virtual int GetFilterIndex() const
         { return m_filectrl->GetFilterIndex(); }
+    virtual bool SupportsExtraControl() const { return true; }
 
     // implementation only from now on
     // -------------------------------
 
     // implementation only from now on
     // -------------------------------
@@ -113,6 +115,8 @@ protected:
 
 private:
     void Init();
 
 private:
     void Init();
+    wxBitmapButton* AddBitmapButton( wxWindowID winId, const wxArtID& artId,
+                                     const wxString& tip, wxSizer *sizer );
 
     DECLARE_DYNAMIC_CLASS(wxGenericFileDialog)
     DECLARE_EVENT_TABLE()
 
     DECLARE_DYNAMIC_CLASS(wxGenericFileDialog)
     DECLARE_EVENT_TABLE()
@@ -124,10 +128,10 @@ private:
 
 #ifdef wxHAS_GENERIC_FILEDIALOG
 
 
 #ifdef wxHAS_GENERIC_FILEDIALOG
 
-class WXDLLEXPORT wxFileDialog: public wxGenericFileDialog
+class WXDLLIMPEXP_CORE wxFileDialog: public wxGenericFileDialog
 {
 public:
 {
 public:
-     wxFileDialog() {}
+    wxFileDialog() {}
 
     wxFileDialog(wxWindow *parent,
                  const wxString& message = wxFileSelectorPromptStr,
 
     wxFileDialog(wxWindow *parent,
                  const wxString& message = wxFileSelectorPromptStr,
@@ -135,8 +139,12 @@ public:
                  const wxString& defaultFile = wxEmptyString,
                  const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
                  long style = 0,
                  const wxString& defaultFile = wxEmptyString,
                  const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
                  long style = 0,
-                 const wxPoint& pos = wxDefaultPosition)
-          :wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos)
+                 const wxPoint& pos = wxDefaultPosition,
+                 const wxSize& size = wxDefaultSize)
+          :wxGenericFileDialog(parent, message,
+                               defaultDir, defaultFile, wildCard,
+                               style,
+                               pos, size)
      {
      }
 
      {
      }