]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helphtml.cpp
standard icons for msg boxes
[wxWidgets.git] / src / generic / helphtml.cpp
index 6065eeef1263a4bdc68edad570eb81ab5ddacaba..b7885919ca6f21e9bf71cabf08ae0b2ecef90757 100644 (file)
@@ -104,6 +104,7 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile)
       else
          file = ifile;
 
+#if wxUSE_INTL
       // If a locale is set, look in file/localename, i.e.
       // If passed "/usr/local/myapp/help" and the current wxLocale is
       // set to be "de", then look in "/usr/local/myapp/help/de/"
@@ -125,6 +126,7 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile)
                file = newfile;
          }
       }
+#endif
 
       if(! wxDirExists(file))
          return FALSE;