Appendix J Code Listings

Custom Dialog Class Implementation

These are the header and implementation files for the PersonalRecordDialog class described in Chapter 9, “Creating Custom Dialogs.” It can be found in examples/chap09 on the CD-ROM.

Listing J-1 Header File for PersonalRecordDialog

////////////////////////////////////////////////////////////////////// Name:        personalrecord.h// Purpose:     Dialog to get name, age, sex, and voting preference// Author:      Julian Smart// Created:     02/28/04 06:52:49// Copyright:   (c) 2004, Julian Smart// Licence:     wxWindows license////////////////////////////////////////////////////////////////////#ifndef _PERSONALRECORD_H_#define _PERSONALRECORD_H_#ifdef __GNUG__#pragma interface "personalrecord.cpp" ...

Get Cross-Platform GUI Programming with wxWidgets now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.