Ein einfaches Hello World Programm mit wxWidgets.
#include "wx/wx.h" class MyApp : public wxApp { public: virtual bool OnInit() { wxMessageBox(_("Hello wxWidgets ;-)")); return true; } }; IMPLEMENT_APP(MyApp);
Automatisch Flags für den Kompiler erhalten:
`wx-config --cxxflags`
Automatisch Flags für den Linker erhalten:
`wx-config --libs`
`wx-config --libs` `wx-config --gl-libs`