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