File: port25.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 (15 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<HTML>
<head><title>wxApp definition</title></head>

<BODY BGCOLOR=#FFFFFF>
<A NAME="topic15"></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="port24.htm#topic14"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="port26.htm#topic16"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>

<H2>wxApp definition</H2>
<P>
The definition of OnInit has changed. Return a bool value, not a wxFrame.<P>
Also, do <I>not</I> declare a global application object. Instead, use the macros
DECLARE_APP and IMPLEMENT_APP as per the samples. Remove any occurrences of IMPLEMENT_WXWIN_MAIN:
this is subsumed in IMPLEMENT_APP.<P>

</BODY></HTML>