O'Reilly logo

Cross-Platform GUI Programming with wxWidgets by Stefan Csomor, Kevin Hock, Julian Smart

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required