Fix non PCH build and gcc warnings in wxAuiMSWTabArt

Recent de96b0dae7 commit caused these issues.

See https://github.com/wxWidgets/wxWidgets/pull/108
This commit is contained in:
Tobias Taschner
2015-10-04 16:23:20 +02:00
committed by Vadim Zeitlin
parent 5ba2943d1c
commit 614cb5abf0

View File

@@ -13,6 +13,10 @@
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/dc.h"
#endif
#include "wx/aui/tabart.h"
#include "wx/aui/auibook.h"
#include "wx/msw/uxtheme.h"
@@ -381,7 +385,7 @@ void wxAuiMSWTabArt::DrawButton(wxDC& dc,
wxUxThemeEngine* te = wxUxThemeEngine::Get();
wchar_t* themeId = NULL;
const wchar_t* themeId = NULL;
int part = 0;
switch (bitmap_id)