mirror of https://github.com/PCSX2/pcsx2.git
Fix issues with DOC_DIR_COMPILATION.
This fixes the remaining issues: - wx2.8 => apparent utf issue. - wx3.0 => opens the file twice. . Fixes #402
This commit is contained in:
parent
e0add8003d
commit
ed317360ef
|
@ -77,7 +77,7 @@ Panels::FirstTimeIntroPanel::FirstTimeIntroPanel( wxWindow* parent )
|
||||||
// change it with compilation flags. -- Gregory
|
// change it with compilation flags. -- Gregory
|
||||||
#define xDOC_str(s) DOC_str(s)
|
#define xDOC_str(s) DOC_str(s)
|
||||||
#define DOC_str(s) #s
|
#define DOC_str(s) #s
|
||||||
faqFile.Write( L"file://%s/PCSX2_FAQ.pdf", xDOC_str(DOC_DIR_COMPILATION) );
|
faqFile.Write( L"file://%s/PCSX2_FAQ.pdf", WX_STR(wxDirName(xDOC_str(DOC_DIR_COMPILATION)).ToString()) );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxStaticBoxSizer& langSel = *new wxStaticBoxSizer( wxVERTICAL, this, _("Language selector") );
|
wxStaticBoxSizer& langSel = *new wxStaticBoxSizer( wxVERTICAL, this, _("Language selector") );
|
||||||
|
|
Loading…
Reference in New Issue