From: Vadim Zeitlin Date: Sat, 3 Feb 2007 12:01:42 +0000 (+0000) Subject: fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAv... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/207ddcc9882758f7f8e4fcfb3ad39e5d284f6190 fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAvailable() before using it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 4aaa290e8b..68b26d6b6d 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -83,7 +83,6 @@ #include #include #endif - extern bool wxIsDriveAvailable(const wxString& dirName); #endif // __OS2__ #if defined(__WXMAC__) @@ -99,6 +98,8 @@ #undef GetFirstChild #endif +bool wxIsDriveAvailable(const wxString& dirName); + // ---------------------------------------------------------------------------- // wxGetAvailableDrives, for WINDOWS, DOS, OS2, MAC, UNIX (returns "/") // ----------------------------------------------------------------------------