#include "wx/dialog.h"
#include "wx/msgdlg.h"
#include "wx/intl.h"
- #include "wx/wxchar.h"
- #include "wx/stdpaths.h"
- #include "wx/filename.h"
+ #include "wx/crt.h"
#include "wx/log.h"
+ #include "wx/module.h"
#endif
-#include "wx/module.h"
+#include "wx/stdpaths.h"
+#include "wx/filename.h"
#include "wx/os2/private.h"
wxApp::wxApp()
{
- argc = 0;
- argv = NULL;
m_nPrintMode = wxPRINT_WINDOWS;
m_hMq = 0;
m_maxSocketHandles = 0;
wxApp::~wxApp()
{
- //
- // Delete command-line args
- //
-#if wxUSE_UNICODE
- int i;
-
- for (i = 0; i < argc; i++)
- {
- delete[] argv[i];
- }
- delete[] argv;
-#endif
} // end of wxApp::~wxApp
bool gbInOnIdle = false;
-void wxApp::OnIdle( wxIdleEvent& rEvent )
+void wxApp::OnIdle( wxIdleEvent& WXUNUSED(rEvent) )
{
//
// Avoid recursion (via ProcessEvent default case)
gbInOnIdle = true;
- wxAppBase::OnIdle(rEvent);
-
#if wxUSE_DC_CACHEING
// automated DC cache management: clear the cached DCs and bitmap
// if it's likely that the app has finished with them, that is, we