## 21.8 Software Frameworks (cont.)

>     class ClockWindow : public wxWindow
>        // ClockWindow will be developed in Chapter 27
>     {
>     public:
>        . . .
>        virtual void OnPaint(wxPaintEvent& event);
>        virtual void OnMouseEvent(wxMouseEvent& event);
>        . . .
>     };

>     void ClockWindow::OnMouseEvent(wxMouseEvent& event)
>     {
>        . . . // Implement mouse events for this specific application
>     }

prev |top |next