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());
|
help.UseConfig(wxConfig::Get());
|
||||||
bool ret;
|
bool ret;
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
ret = help.AddBook(":helpfiles:testing.hhp");
|
||||||
|
#else
|
||||||
help.SetTempDir(".");
|
help.SetTempDir(".");
|
||||||
ret = help.AddBook("helpfiles/testing.hhp");
|
ret = help.AddBook("helpfiles/testing.hhp");
|
||||||
|
#endif
|
||||||
if (! ret)
|
if (! ret)
|
||||||
wxMessageBox("Failed adding book helpfiles/testing.hhp");
|
wxMessageBox("Failed adding book helpfiles/testing.hhp");
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
ret = help.AddBook(":helpfiles:another.hhp");
|
||||||
|
#else
|
||||||
ret = help.AddBook("helpfiles/another.hhp");
|
ret = help.AddBook("helpfiles/another.hhp");
|
||||||
|
#endif
|
||||||
if (! ret)
|
if (! ret)
|
||||||
wxMessageBox("Failed adding book helpfiles/another.hhp");
|
wxMessageBox("Failed adding book helpfiles/another.hhp");
|
||||||
}
|
}
|
||||||
|
BIN
samples/html/help/makemac6.mcp
Normal file
BIN
samples/html/help/makemac6.mcp
Normal file
Binary file not shown.
Reference in New Issue
Block a user