fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAv...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 3 Feb 2007 12:01:42 +0000 (12:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 3 Feb 2007 12:01:42 +0000 (12:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

index 4aaa290e8b20a8aad18c664c88ae04572e389475..68b26d6b6d56f90cd48cdcc7c5bc2957458f36cc 100644 (file)
@@ -83,7 +83,6 @@
         #include <stdlib.h>
         #include <ctype.h>
     #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 "/")
 // ----------------------------------------------------------------------------