File: port15.htm

package info (click to toggle)
wxwin2-doc 2.01-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,540 kB
  • ctags: 5,968
  • sloc: cpp: 15,157; makefile: 434; sh: 6
file content (37 lines) | stat: -rw-r--r-- 1,159 bytes parent folder | download
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 &lt;wx/wx.h&gt;
#include &lt;wx/button.h&gt;
</PRE>
For precompiled header support, use this form:<P>
<PRE>
// For compilers that support precompilation, includes "wx.h".
#include &lt;wx/wxprec.h&gt;

#ifdef __BORLANDC__
    #pragma hdrstop
#endif

// Any files you want to include if not precompiling by including
// the whole of &lt;wx/wx.h&gt;
#ifndef WX_PRECOMP
    #include &lt;stdio.h&gt;
    #include &lt;wx/setup.h&gt;
    #include &lt;wx/bitmap.h&gt;
    #include &lt;wx/brush.h&gt;
#endif

// Any files you want to include regardless of precompiled headers
#include &lt;wx/toolbar.h&gt;
</PRE>

</BODY></HTML>