]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
wxWizardPage may be loaded from resource (patch 470683)
[wxWidgets.git] / src / generic / dcpsg.cpp
index 73ee7231f032540927894482e562fe69d4b6f2b7..701c26e46f863c380c168e4a1bdebfd23621433f 100644 (file)
@@ -2034,7 +2034,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
            - afmFile = fopen() may fail and in that case the next if branch
            MUST be executed - and it would not if there was "else" */
         {
-           afmName = wxINSTALL_PREFIX;
+           afmName = wxGetInstallPrefix();
            afmName <<  wxFILE_SEP_PATH
                    << wxT("share") << wxFILE_SEP_PATH
                    << wxT("wx") << wxFILE_SEP_PATH