]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/aui/tabart.h
Use wmain() if supported by the compiler/CRT instead of main().
[wxWidgets.git] / include / wx / aui / tabart.h
index e1418f2743b66c58a07cd002efff2c9dd9faf730..329d6bbb26d32b8c1a94f8a442d7359f0c70325b 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Benjamin I. Williams
 // Modified by: Jens Lody (extracted from wx/aui/auibook.h)
 // Created:     2012-03-21
-// RCS-ID:      $Id:$
+// RCS-ID:      $Id$
 // Copyright:   (C) Copyright 2006, Kirix Corporation, All Rights Reserved.
 // Licence:     wxWindows Library Licence, Version 3.1
 ///////////////////////////////////////////////////////////////////////////////
@@ -275,7 +275,17 @@ protected:
     unsigned int m_flags;
 };
 
-#define wxAuiDefaultTabArt wxAuiGenericTabArt
+#ifndef __WXUNIVERSAL__
+    #if defined(__WXGTK20__) && !defined(__WXGTK3__)
+        #define wxHAS_NATIVE_TABART
+        #include "wx/aui/tabartgtk.h"
+        #define wxAuiDefaultTabArt wxAuiGtkTabArt
+    #endif
+#endif // !__WXUNIVERSAL__
+
+#ifndef wxHAS_NATIVE_TABART
+    #define wxAuiDefaultTabArt wxAuiGenericTabArt
+#endif
 
 #endif  // wxUSE_AUI