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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.