summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d29bf67)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27861
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#pragma interface "dirctrlg.h"
#endif
#pragma interface "dirctrlg.h"
#endif
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
+ #include "wx/imaglist.h"
+#endif
+
#if wxUSE_DIRDLG
#include "wx/treectrl.h"
#if wxUSE_DIRDLG
#include "wx/treectrl.h"
#define wxID_TREECTRL 7000
#define wxID_FILTERLISTCTRL 7001
#define wxID_TREECTRL 7000
#define wxID_FILTERLISTCTRL 7001
+#endif // wxUSE_DIRDLG
+
//-------------------------------------------------------------------------
// wxFileIconsTable - use wxTheFileIconsTable which is created as necessary
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
// wxFileIconsTable - use wxTheFileIconsTable which is created as necessary
//-------------------------------------------------------------------------
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
+
class WXDLLEXPORT wxFileIconsTable
{
public:
class WXDLLEXPORT wxFileIconsTable
{
public:
// The global fileicons table
WXDLLEXPORT_DATA(extern wxFileIconsTable *) wxTheFileIconsTable;
// The global fileicons table
WXDLLEXPORT_DATA(extern wxFileIconsTable *) wxTheFileIconsTable;
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG
#endif
// _WX_DIRCTRLG_H_
#endif
// _WX_DIRCTRLG_H_
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
#include "wx/generic/dirctrlg.h"
#include "wx/generic/dirctrlg.h"
#include "wx/module.h"
#include "wx/utils.h"
#include "wx/button.h"
#include "wx/module.h"
#include "wx/utils.h"
#include "wx/button.h"
}
#endif // __WINDOWS__ || __OS2__
}
#endif // __WINDOWS__ || __OS2__
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG
+
+
+
+#if wxUSE_DIRDLG
// Function which is called by quick sort. We want to override the default wxArrayString behaviour,
// and sort regardless of case.
// Function which is called by quick sort. We want to override the default wxArrayString behaviour,
// and sort regardless of case.
SetSelection(defaultFilter);
}
}
SetSelection(defaultFilter);
}
}
+#if wxUSE_DIRDLG || wxUSE_FILEDLG
// ----------------------------------------------------------------------------
// wxFileIconsTable icons
// ----------------------------------------------------------------------------
// wxFileIconsTable icons
#endif // wxUSE_MIMETYPE/!wxUSE_MIMETYPE
}
#endif // wxUSE_MIMETYPE/!wxUSE_MIMETYPE
}
+#endif // wxUSE_DIRDLG || wxUSE_FILEDLG