2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-08 14:43:31 +00:00
|
|
|
// Name: init.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of global functions
|
2008-03-08 14:43:31 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
2008-03-10 15:24:38 +00:00
|
|
|
Free resources allocated by a successful call to wxEntryStart().
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
|
|
|
void wxEntryCleanup();
|
|
|
|
|
|
|
|
|
2008-03-08 14:43:31 +00:00
|
|
|
//@{
|
2008-03-08 13:52:38 +00:00
|
|
|
/**
|
2008-03-08 14:43:31 +00:00
|
|
|
(notice that under Windows CE platform, and only there, the type of
|
2008-03-09 12:33:59 +00:00
|
|
|
@a pCmdLine is @c wchar_t *, otherwise it is @c char *, even in
|
2008-03-08 13:52:38 +00:00
|
|
|
Unicode build).
|
|
|
|
*/
|
2008-03-09 12:33:59 +00:00
|
|
|
bool wxEntryStart(int& argc, wxChar** argv);
|
2008-03-08 14:43:31 +00:00
|
|
|
bool wxEntryStart(HINSTANCE hInstance,
|
2008-03-09 12:33:59 +00:00
|
|
|
HINSTANCE hPrevInstance = NULL,
|
|
|
|
char* pCmdLine = NULL,
|
2008-03-08 14:43:31 +00:00
|
|
|
int nCmdShow = SW_SHOWNORMAL);
|
2008-03-08 13:52:38 +00:00
|
|
|
//@}
|
|
|
|
|