]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/app.cpp
added some utils (tex2rtf, helpgen, makegen) to make system
[wxWidgets.git] / src / stubs / app.cpp
index bfe240f2259d65995dd04927b70441824c883a42..681e66155693cdf5c877bb8212e7bc14cbf22ce6 100644 (file)
@@ -40,12 +40,10 @@ extern wxList wxPendingDelete;
 
 wxApp *wxTheApp = NULL;
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxApp, wxEvtHandler)
 BEGIN_EVENT_TABLE(wxApp, wxEvtHandler)
     EVT_IDLE(wxApp::OnIdle)
 END_EVENT_TABLE()
-#endif
 
 long wxApp::sm_lastMessageTime = 0;
 
@@ -326,7 +324,7 @@ bool wxApp::SendIdleEvents(wxWindow* win)
     if (event.MoreRequested())
         needMore = TRUE;
 
-       wxNode* node = win->GetChildren()->First();
+       wxNode* node = win->GetChildren().First();
        while (node)
        {
                wxWindow* win = (wxWindow*) node->Data();