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:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user