[2.8.10, Windows XP/cygwin, gcc] Where to put macro code?

1 view
Skip to first unread message

Daniel

unread,
Nov 8, 2009, 12:36:27 PM11/8/09
to wx-users
I am following a tutorial at http://www.ibm.com/developerworks/library/l-wxwidgets/index.html

It says put the macro code somewhere in your code:

BEGIN_EVENT_TABLE(DemoFrame, wxFrame)
EVT_BUTTON(wxID_CLOSE, DemoFrame::OnButtonPress)
END_EVENT_TABLE()

IMPLEMENT_APP(DemoApp)

.. so where do I put it? Somewhere in my implementation, .cpp file or
somewhere in the header, .h file? Where abouts?
Reply all
Reply to author
Forward
0 new messages