13 lines
306 B
C++
13 lines
306 B
C++
#include "MyApp.h"
|
|
|
|
bool MyApp::OnInit()
|
|
{
|
|
wxFrame* pFrame = new wxFrame(nullptr, wxID_ANY, "Hello World Example");
|
|
wxPanel* pPanel = new wxPanel(pFrame);
|
|
wxButton* pBUtton = new wxButton(pPanel, wxID_ANY, "Click me", wxPoint(10, 10), wxSize(100, 30));
|
|
|
|
pFrame->Show();
|
|
|
|
return true;
|
|
}
|