Commit 34fc8e5d authored by Stas Korobeynikov's avatar Stas Korobeynikov

create simple project

parents
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
# include "wx/wx.h"
#endif
#include "opennxtestevent.h"
IMPLEMENT_APP(OpennxTestEvent)
// This is executed upon startup, like 'main()' in non-wxWidgets programs.
bool OpennxTestEvent::OnInit()
{
wxFrame *frame = new wxFrame((wxFrame*) NULL, -1, _T("Test opennx event"));
frame->CreateStatusBar();
frame->SetStatusText(_T("Test opennx event"));
frame->Show(true);
SetTopWindow(frame);
return true;
}
\ No newline at end of file
#ifndef OPENNXTESTEVENT_H
#define OPENNXTESTEVENT_H
class OpennxTestEvent : public wxApp
{
public:
virtual bool OnInit();
};
DECLARE_APP(OpennxTestEvent)
#endif //OPENNXTESTEVENT
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment