warning fix - only use the function in debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1cc549e58c
commit
8d1147f942
@ -555,6 +555,8 @@ DEFINE_ONE_SHOT_HANDLER_GETTER( wxMacAppEventHandler )
|
|||||||
WXIMPORT char std::__throws_bad_alloc ;
|
WXIMPORT char std::__throws_bad_alloc ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __WXDEBUG__
|
||||||
|
|
||||||
pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 options,
|
pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 options,
|
||||||
const char *assertionString, const char *exceptionLabelString,
|
const char *assertionString, const char *exceptionLabelString,
|
||||||
const char *errorString, const char *fileName, long lineNumber, void *value, ConstStr255Param outputMsg)
|
const char *errorString, const char *fileName, long lineNumber, void *value, ConstStr255Param outputMsg)
|
||||||
@ -591,6 +593,8 @@ pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 op
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif //__WXDEBUG__
|
||||||
|
|
||||||
bool wxApp::Initialize(int& argc, wxChar **argv)
|
bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||||
{
|
{
|
||||||
// Mac-specific
|
// Mac-specific
|
||||||
|
Loading…
Reference in New Issue
Block a user