![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsWXAppMain.hpp 00003 00004 WXAppMain (a subclass of class wxApp) is 00005 an Application Object ( equivalent to main() ) 00006 for a wxWidgets application. 00007 00008 SUKITTI PUNAK (05/05/2006) 00009 UPDATE (05/05/2006) 00010 ******************************************************************************/ 00011 #ifndef TAPs_WX_APP_MAIN_HPP 00012 #define TAPs_WX_APP_MAIN_HPP 00013 00014 //============================================================================= 00015 // ----------------------------------------------------------------------------- 00016 // resources 00017 // ----------------------------------------------------------------------------- 00018 // the application icon (under Windows and OS/2 it is in resources) 00019 #include <TAPs/wxWidgets/sample.xpm> 00020 // ----------------------------------------------------------------------------- 00021 //============================================================================= 00022 00023 //============================================================================= 00024 // for all others, include the necessary headers (this file is usually all you 00025 // need because it includes almost all "standard" wxWidgets headers) 00026 //#ifndef WX_PRECOMP 00027 // #include "wx/wx.h" 00028 //#endif 00029 //#include <TAPs/Core/TAPsLib.hpp> 00030 #include "wx/wx.h" 00031 #include "TAPsWXFrameSupportGLCanvas.hpp" 00032 #include "OpenGL/TAPsOpenGLManager.hpp" 00033 00034 BEGIN_NAMESPACE_TAPs 00035 //============================================================================= 00036 // Class TAPsApp : subclass of class wxApp 00037 //----------------------------------------------------------------------------- 00038 class WXAppMain : public wxApp { 00039 public: 00040 bool OnInit(); 00041 }; // End Class WXAppMain 00042 //----------------------------------------------------------------------------- 00043 //============================================================================= 00044 END_NAMESPACE_TAPs 00045 //----------------------------------------------------------------------------- 00046 // Include definition if TAPs_USE_EXPORT is not defined 00047 #if !defined( TAPs_USE_EXPORT ) 00048 #include "TAPsWXAppMain.cpp" 00049 #endif 00050 //----------------------------------------------------------------------------- 00051 #endif 00052 //345678901234567890123456789012345678901234567890123456789012345678901234567890 00053 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8