]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
make --static flag act on --cppflags too.
[wxWidgets.git] / src / generic / dcpsg.cpp
index 73ee7231f032540927894482e562fe69d4b6f2b7..ab2064457652d8afa087cdb551c60fa00771ad0d 100644 (file)
@@ -37,7 +37,7 @@
 #include "wx/image.h"
 #include "wx/log.h"
 #include "wx/generic/dcpsg.h"
-#include "wx/generic/prntdlgg.h"
+#include "wx/printdlg.h"
 #include "wx/button.h"
 #include "wx/stattext.h"
 #include "wx/radiobox.h"
@@ -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