Moved the main funtion into its own source file.
[wxWidgets.git] / src / gtk1 / main.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: main.cpp
3 // Purpose: Entry point
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id$
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #include "wx/app.h"
13
14 int wxEntry(int argc, char *argv[]);
15
16
17 #if defined(AIX) || defined(AIX4) || defined(____HPUX__) || defined(NOMAIN)
18
19 // main in IMPLEMENT_WX_MAIN in IMPLEMENT_APP in app.h
20
21 #else
22
23
24 int main(int argc, char* argv[])
25 {
26 return wxEntry(argc, argv);
27 }
28
29 #endif