Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-event-test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stas Korobeynikov
wx-event-test
Commits
34fc8e5d
Commit
34fc8e5d
authored
Nov 18, 2016
by
Stas Korobeynikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create simple project
parents
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
opennxtestevent.cpp
opennxtestevent.cpp
+21
-0
opennxtestevent.h
opennxtestevent.h
+13
-0
No files found.
opennxtestevent.cpp
0 → 100644
View file @
34fc8e5d
#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
opennxtestevent.h
0 → 100644
View file @
34fc8e5d
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment