![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsWXDebug.hpp 00003 00004 TAPs::WX::Debug contains global functions for debugging wxWidgets applications. 00005 00006 SUKITTI PUNAK (05/05/2006) 00007 UPDATE (05/01/2008) 00008 ******************************************************************************/ 00009 #ifndef TAPs_WX_DEBUG_HPP 00010 #define TAPs_WX_DEBUG_HPP 00011 00012 //============================================================================= 00013 // for all others, include the necessary headers (this file is usually all you 00014 // need because it includes almost all "standard" wxWidgets headers) 00015 //#ifndef WX_PRECOMP 00016 // #include "wx/wx.h" 00017 //#endif 00018 #include <TAPs/Core/TAPsLib.hpp> 00019 #include "wx/wx.h" 00020 // ---------------------------------------------------------------------------- 00021 //============================================================================= 00022 00023 BEGIN_NAMESPACE_TAPs__WX 00024 //============================================================================= 00025 // Class Debug 00026 //----------------------------------------------------------------------------- 00027 class Debug { 00028 public: 00029 static void DisplayDialog ( wxString info, wxString title = wxString() ) { 00030 //--------------------------------------------------------------- 00031 wxMessageDialog dialog ( NULL, info, title ); 00032 dialog.ShowModal(); 00033 } 00034 }; // End Class Debug 00035 //----------------------------------------------------------------------------- 00036 //============================================================================= 00037 END_NAMESPACE_TAPs__WX 00038 //----------------------------------------------------------------------------- 00039 // Include definition if TAPs_USE_EXPORT is not defined 00040 #if !defined( TAPs_USE_EXPORT ) 00041 //#include "TAPsWXDebug.cpp" 00042 #endif 00043 //----------------------------------------------------------------------------- 00044 #endif 00045 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00046 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----