add detailed sfml example

add simple wxWidgets example
This commit is contained in:
2025-02-26 12:59:43 +01:00
parent 803701d6ef
commit 9e336c5677
7 changed files with 238 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
#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;
}