wxWidgets Programmer Style Guide

by Vadim Zeitlin

This guide is intended for people who are (or intending to start) writing code for wxWidgets class library.

The guide is separated into two parts: the first one addresses the general compatibility issues and is not wxWidgets-specific. The advices in this part will hopefully help you to write programs which compile and run on greater variety of platforms. The second part details the wxWidgets code organization and its goal it to make wxWidgets as uniform as possible without imposing too many restrictions on the programmer.

Acknowledgements: This guide is partly based on C++ portability guide by David Williams.

General C++ Rules

wxWidgets Rules


General C++ Rules

wxWidgets rules


Please send any comments to
Vadim Zeitlin.