added new calling conventions for mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-08-24 20:44:02 +00:00
parent 6464f4cbe0
commit c638c3cd12
2 changed files with 8 additions and 0 deletions

View File

@@ -155,11 +155,19 @@
help.UseConfig(wxConfig::Get());
bool ret;
#ifdef __WXMAC__
ret = help.AddBook(":helpfiles:testing.hhp");
#else
help.SetTempDir(".");
ret = help.AddBook("helpfiles/testing.hhp");
#endif
if (! ret)
wxMessageBox("Failed adding book helpfiles/testing.hhp");
#ifdef __WXMAC__
ret = help.AddBook(":helpfiles:another.hhp");
#else
ret = help.AddBook("helpfiles/another.hhp");
#endif
if (! ret)
wxMessageBox("Failed adding book helpfiles/another.hhp");
}