## 27.2 Frames

- To get started with wxWindows, we will write a very simple program that simply puts up a frame, a window with the typical decorations that the windowing system provides.
- The icons for minimizing or closing the window (etc.) vary from system to system, but are not important to our discussion.
- To use the wzWindows toolkit in your program, you need to include the header file `wx/w.h`.
- To the define a class that contains details about the workings of your application.

  >     class BasicApp: public wxApp
  >     {
  >     public:
  >        BasicApp();
  >        virtual bool OnInit(); /* override base class implementation */
  >     private:
  >        wxFrame* frame; /* this application has a frame */
  >     };

prev |top |next