i am making a banking application in wxwidget using gcc complier code-blocks. i made a administrator login form now i am having a problem in event handling using buttom i don't no how create a open new window/form through buttons. it would be great if anyone can provide me the code of event using both static eent handling or connect .

Recommended Answers

All 4 Replies

In your button handler, put something like:

wxFrame* f = new wxFrame(this, -1, wxT("A new window"), wxDefaultPosition, wxSize(800,600)); //for example
f->ShowModal();

Do you have a book or just refence docs?
Their book is now free and just search forum for it.
I posted it somewher in the forum.
It explains alot and got me up ad running :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.