## 27.2 Frames (cont.)

- Note that the names in wxWindows (such as `OnInit` and `Show`) do not follow the same style guidelines as the text.
- Two preprocessor macros carry out some magic that the framework needs to make an application out of the `BasicApp` class.

  >     DECLARE_APP(BasicAPP)
  >     IMPLEMENT_APP(BasicAPP)

- If you distribute the code into separate files
  - place `DECLARE_APP` in the `.h` file
  - place `IMPLEMENT_APP` in the `.cpp` file
- The wxWindows toolkit supplies an application framework - several base classes from which programmers derive classes to specify the behavior of their application.
- The application framework does complex work to interface with the operating system, but the programmer is insulated from these technical details.
- The instructions for compiling a wxWindows program differs quite a bit depending on compiler and platform.

prev |top |next