X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/44f685055e6e0e591ce4211b4d8b30ad949e1497..ade7e576a12a85c6422ed266a07062ef222b1c4b:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index c817051fb8..c8cf22a045 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -31,8 +31,11 @@ //---------------------------------------------------------------------- - +#ifdef __WXGTK__ +int WXDLLEXPORT wxEntryStart( int& argc, char** argv ); +#else int WXDLLEXPORT wxEntryStart( int argc, char** argv ); +#endif int WXDLLEXPORT wxEntryInitGui(); void WXDLLEXPORT wxEntryCleanup(); @@ -454,7 +457,9 @@ unsigned long wxPyGetCurrentThreadId() { return (unsigned long)pthread_self(); #endif #ifdef __WXMAC__ -#error Fix this! + ThreadID current ; + MacGetCurrentThread( ¤t ) ; + return (unsigned long)current; #endif }