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:
committed by
Vadim Zeitlin
parent
5ba2943d1c
commit
614cb5abf0
@@ -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)
|
||||
|
Reference in New Issue
Block a user