]> git.saurik.com Git - wxWidgets.git/commitdiff
wxFNCONV no longer references wxConv in a non-Unicode build
authorOve Kaaven <ovek@arcticnet.no>
Thu, 28 Oct 1999 10:29:51 +0000 (10:29 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Thu, 28 Oct 1999 10:29:51 +0000 (10:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/strconv.h

index 97239009c42a3a5e8a762a385b31b68f46254937..2b76ae98591480918d7617c682d9c066ff2e1fae 100644 (file)
@@ -149,7 +149,7 @@ WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
     #define wxMBFILES 0
 #endif
 
-#if wxMBFILES
+#if wxMBFILES && wxUSE_UNICODE
     #define wxFNCONV(name) wxConvFile.cWX2MB(name)
     #define wxFNSTRINGCAST wxMBSTRINGCAST
 #else