-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUSBLoader2App.cpp
More file actions
37 lines (30 loc) · 795 Bytes
/
Copy pathUSBLoader2App.cpp
File metadata and controls
37 lines (30 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/***************************************************************
* Name: USBLoader2App.cpp
* Purpose: Code for Application Class
* Author: Helge ()
* Created: 2020-09-03 aber JETZT
* Copyright: Helge ()
* License:
**************************************************************/
#include "USBLoader2App.h"
//(*AppHeaders
#include "USBLoader2Main.h"
#include <wx/image.h>
//*)
IMPLEMENT_APP(USBLoader2App);
bool USBLoader2App::OnInit()
{
//(*AppInitialize
bool wxsOK;
wxLocale* locale = new wxLocale();
wxsOK = locale->Init(wxLANGUAGE_GERMAN, wxLOCALE_LOAD_DEFAULT);
wxInitAllImageHandlers();
if ( wxsOK )
{
USBLoader2Frame* Frame = new USBLoader2Frame(0);
Frame->Show();
SetTopWindow(Frame);
}
//*)
return wxsOK;
}