Applied patch [ 588734 ] Makes ProcessIdle() virtual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-08-01 19:54:55 +00:00
parent 4f7202dd93
commit 90a1a975d4
11 changed files with 18 additions and 11 deletions

View File

@@ -255,6 +255,9 @@ wxMSW:
- fixed a condition where a thread can hang during
message/event processing
- increased space between wxRadioBox label and first radio button
- don't fail to register remaining window classes if one fails to register
- set window proc for non-control windows to avoid problems
with multiple wxWindows apps running simultaneously
wxGTK:

View File

@@ -11,8 +11,8 @@ returns a boolean value which indicates whether processing should continue (TRUE
You call \helpref{wxApp::SetTopWindow}{wxappsettopwindow} to let wxWindows know
about the top window.
Note that the program's command line arguments, represented by {\it
argc} and {\it argv}, are available from within wxApp member functions.
Note that the program's command line arguments, represented by {\it argc}
and {\it argv}, are available from within wxApp member functions.
An application closes by destroying all windows. Because all frames must
be destroyed for the application to exit, it is advisable to use parent
@@ -37,8 +37,9 @@ IMPLEMENT_APP(DerivedApp)
bool DerivedApp::OnInit()
{
wxFrame *the_frame = new wxFrame(NULL, argv[0]);
wxFrame *the_frame = new wxFrame(NULL, ID_MYFRAME, argv[0]);
...
the_frame->Show(TRUE);
SetTopWindow(the_frame);
return TRUE;