X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..12f99210852052aad51b7a4e01be514e8abe275e:/include/wx/generic/dirctrlg.h diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index 0c5627ca08..d9680ecaea 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -19,6 +19,10 @@ #pragma interface "dirctrlg.h" #endif +#if wxUSE_DIRDLG || wxUSE_FILEDLG + #include "wx/imaglist.h" +#endif + #if wxUSE_DIRDLG #include "wx/treectrl.h" @@ -242,10 +246,14 @@ protected: #define wxID_TREECTRL 7000 #define wxID_FILTERLISTCTRL 7001 +#endif // wxUSE_DIRDLG + //------------------------------------------------------------------------- // wxFileIconsTable - use wxTheFileIconsTable which is created as necessary //------------------------------------------------------------------------- +#if wxUSE_DIRDLG || wxUSE_FILEDLG + class WXDLLEXPORT wxFileIconsTable { public: @@ -278,7 +286,7 @@ protected: // The global fileicons table WXDLLEXPORT_DATA(extern wxFileIconsTable *) wxTheFileIconsTable; -#endif // wxUSE_DIRDLG +#endif // wxUSE_DIRDLG || wxUSE_FILEDLG #endif // _WX_DIRCTRLG_H_