Files
fs2open.github.com/code/wxfred2/wxfred2.cpp
T
z64555 63df481478 Compliance modifications. EOL to Unix style (LF only), files renamed to only lowercase
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@9869 387891d4-d844-0410-90c0-e4c51a9137d3
2013-10-07 20:02:29 +10:00

36 lines
842 B
C++

/*
* Created by Ian "Goober5000" Warfield for the FreeSpace2 Source Code Project.
* You may not sell or otherwise commercially exploit the source or things you
* create based on the source.
*/
//#include "mission.h"
#include "frmfred2.h"
#include "base/wxfred_base.h"
#include "wxfred2.h"
#include <globalincs/pstypes.h>
#include <wx/image.h>
#include <wx/string.h>
//#include <wx/xrc/xmlres.h>
#include <wx/wx.h>
IMPLEMENT_APP(wxFRED2)
bool wxFRED2::OnInit()
{
//wxXmlResource::Get()->InitAllHandlers();
//InitXmlResource();
//wxFREDMission* the_Mission = new wxFREDMission();
wxChar* title = NULL;
// Init image handlers before frmFRED2 (wxFormBuilder workaround)
wxImage::AddHandler(new wxPNGHandler);
frmFRED2 *frame = new frmFRED2( title, 50, 50, 800, 600 );
SetTopWindow(frame);
frame->Show(TRUE);
return true;
}