1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<HTML>
<head><title>Include files</title></head>
<BODY BGCOLOR=#FFFFFF>
<A NAME="topic5"></A><CENTER>
<A HREF="port.htm"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="port14.htm#quickreference"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="port14.htm#quickreference"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="port16.htm#topic6"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
<H2>Include files</H2>
<P>
Use the form:<P>
<PRE>
#include <wx/wx.h>
#include <wx/button.h>
</PRE>
For precompiled header support, use this form:<P>
<PRE>
// For compilers that support precompilation, includes "wx.h".
#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// Any files you want to include if not precompiling by including
// the whole of <wx/wx.h>
#ifndef WX_PRECOMP
#include <stdio.h>
#include <wx/setup.h>
#include <wx/bitmap.h>
#include <wx/brush.h>
#endif
// Any files you want to include regardless of precompiled headers
#include <wx/toolbar.h>
</PRE>
</BODY></HTML>
|