Implement native tab art for wxAUI in wxGTK.
Use native wxAuiTabArt implementation in wxGTK, it better conforms to the system style. Closes #14098. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -275,7 +275,17 @@ protected:
|
||||
unsigned int m_flags;
|
||||
};
|
||||
|
||||
#define wxAuiDefaultTabArt wxAuiGenericTabArt
|
||||
#ifndef __WXUNIVERSAL__
|
||||
#if defined(__WXGTK20__)
|
||||
#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
|
||||
|
||||
|
Reference in New Issue
Block a user