]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Implemented forceTrueColour in SetBestVisual.
[wxWidgets.git] / src / common / filefn.cpp
index aeb116b6c458e0d9c2de39c81ef0cb037afe5301..2bd1b05de35d88d92155a838b37ceb93c35495c4 100644 (file)
@@ -1956,7 +1956,7 @@ wxFileKind wxGetFileKind(FILE *fp)
 #if defined(wxFILEKIND_STUB) || wxONLY_WATCOM_EARLIER_THAN(1,4)
     (void)fp;
     return wxFILE_KIND_DISK;
-#elif defined(__WINDOWS__) && !defined(__CYGWIN__) && !defined(__WATCOMC__)
+#elif defined(__WINDOWS__) && !defined(__CYGWIN__) && !defined(__WATCOMC__) && !defined(__WINE__)
     return fp ? wxGetFileKind(_fileno(fp)) : wxFILE_KIND_UNKNOWN;
 #else
     return fp ? wxGetFileKind(fileno(fp)) : wxFILE_KIND_UNKNOWN;