For autoconf/unix builds update the hardcoded afm dir too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2004-10-15 07:50:21 +00:00
parent b1433926f2
commit 10f206ad20
3 changed files with 8 additions and 13 deletions

View File

@@ -287,13 +287,8 @@ const wxChar *wxGetInstallPrefix()
wxString wxGetDataDir()
{
wxString format = wxGetInstallPrefix();
format << wxFILE_SEP_PATH
<< wxT("share") << wxFILE_SEP_PATH
<< wxT("wx") << wxFILE_SEP_PATH
<< wxT("%i.%i");
wxString dir;
dir.Printf(format.c_str(), wxMAJOR_VERSION, wxMINOR_VERSION);
wxString dir = wxGetInstallPrefix();
dir << wxFILE_SEP_PATH << wxT("share") << wxFILE_SEP_PATH << wxT("wx");
return dir;
}