]> git.saurik.com Git - wxWidgets.git/commitdiff
avoid warning for duplicate defined wxEntry when compiling with the Apple
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Mon, 2 Sep 2002 19:17:52 +0000 (19:17 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Mon, 2 Sep 2002 19:17:52 +0000 (19:17 +0000)
Developer Tools (already defined in common include)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/app.h

index 7b475d5bb2df0f4ff35d512042204287c3a79856..bbc96c10990bb68897d8ff381fd1f1a088ed2369 100644 (file)
@@ -185,7 +185,9 @@ private:
 } ;
 
 // TODO: add platform-specific arguments
+#ifndef __DARWIN__
 int WXDLLEXPORT wxEntry( int argc, char *argv[] , bool enterLoop = TRUE);
+#endif
 
 void wxMacConvertFromPCForControls( char * p ) ;