X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f485492a1eef7a413945b331bc9bdb26cceaf0cd..d7eee191c55687785a2be927fd387d10514cdf1b:/include/wx/generic/dirctrlg.h diff --git a/include/wx/generic/dirctrlg.h b/include/wx/generic/dirctrlg.h index e383a0dc4c..fe915fdc87 100644 --- a/include/wx/generic/dirctrlg.h +++ b/include/wx/generic/dirctrlg.h @@ -9,7 +9,7 @@ // Created: 21/3/2000 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_DIRCTRL_H_ @@ -19,6 +19,8 @@ #pragma interface "dirctrlg.h" #endif +#if wxUSE_DIRDLG + #include "wx/treectrl.h" #include "wx/dirdlg.h" #include "wx/choice.h" @@ -49,7 +51,6 @@ class WXDLLEXPORT wxDirItemDataEx : public wxTreeItemData public: wxDirItemDataEx(const wxString& path, const wxString& name, bool isDir); ~wxDirItemDataEx(); - bool HasSubDirs(); void SetNewDirName( wxString path ); wxString m_path, m_name; bool m_isHidden; @@ -248,5 +249,7 @@ protected: }; +#endif // wxUSE_DIRDLG + #endif // _WX_DIRCTRLG_H_