OpenCPN-4.2.0源码
OpenCPN 4.2.0 源代码
代码片段和文件信息
/////////////////////////////////////////////////////////////////////////////
// Name: minimal.cpp
// Purpose: Minimal wxWidgets sample
// Author: David S Register
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: minimal.cpp 65971 2010-11-01 12:30:38Z PMO $
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
// declarations
// ============================================================================
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
// For compilers that support precompilation includes “wx/wx.h“.
#include “wx/wxprec.h“
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// for all others include the necessary headers (this file is usually all you
// need because it includes almost all “standard“ wxWidgets headers)
#ifndef WX_PRECOMP
#include “wx/wx.h“
#endif
#include “chart1.h“
//#include “myapp.h“
IMPLEMENT_APP_NO_MAIN(MyApp);
//IMPLEMENT_APP(MyApp);
//IMPLEMENT_WX_THEME_SUPPORT;
int main(int argc char *argv[])
{
wxEntryStart( argc argv );
wxTheApp->CallOnInit();
wxTheApp->OnRun();
return 0;
}
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)