#ifndef _WX_APP_H_
#define _WX_APP_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "app.h"
-#endif
-
#include "wx/event.h"
#include "wx/icon.h"
virtual bool OnExceptionInMainLoop();
#endif // wxUSE_EXCEPTIONS
- // deprecated functions, use wxEventLoop directly instead
-#if WXWIN_COMPATIBILITY_2_4
- wxDEPRECATED( void DoMessage(WXMSG *pMsg) );
- wxDEPRECATED( bool DoMessage() );
- wxDEPRECATED( bool ProcessMessage(WXMSG* pMsg) );
-#endif // WXWIN_COMPATIBILITY_2_4
-
protected:
int m_printMode; // wxPRINT_WINDOWS, wxPRINT_POSTSCRIPT
typedef char *wxCmdLineArgType;
#endif
+// wxMSW-only overloads of wxEntry() and wxEntryStart() which take the
+// parameters passed to WinMain() instead of those passed to main()
+extern bool WXDLLEXPORT
+wxEntryStart(HINSTANCE hInstance,
+ HINSTANCE hPrevInstance = NULL,
+ wxCmdLineArgType pCmdLine = NULL,
+ int nCmdShow = SW_SHOWNORMAL);
+
extern int WXDLLEXPORT
wxEntry(HINSTANCE hInstance,
HINSTANCE hPrevInstance = NULL,