Skip to content

Instantly share code, notes, and snippets.

View DanyHenriquez's full-sized avatar

Dany Henriquez DanyHenriquez

  • Munich, Germany
View GitHub Profile
@vadz
vadz / example++98.cpp
Last active December 21, 2015 22:49
A simple wxWidgets example in C++ 98.
#include <wx/wx.h>
class MyFrame : public wxFrame
{
public:
MyFrame() : wxFrame(NULL, wxID_ANY, "Test")
{
wxSizer* sizer = new wxBoxSizer(wxHORIZONTAL);
sizer->Add(new wxStaticText(this, wxID_ANY, "Press to enlarge"), wxSizerFlags().Border().Centre());