compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -363,8 +363,9 @@ public:
|
|||||||
{
|
{
|
||||||
wxUxThemeEngine *engine = wxUxThemeEngine::Get();
|
wxUxThemeEngine *engine = wxUxThemeEngine::Get();
|
||||||
|
|
||||||
m_hTheme = engine ? engine->OpenThemeData(win->GetHWND(), classes)
|
m_hTheme =
|
||||||
: NULL;
|
engine ? (WXHTHEME)engine->OpenThemeData(win->GetHWND(), classes)
|
||||||
|
: NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
operator WXHTHEME() const { return m_hTheme; }
|
operator WXHTHEME() const { return m_hTheme; }
|
||||||
|
@@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
#include "wx/window.h"
|
||||||
|
#include "wx/dc.h"
|
||||||
#endif //WX_PRECOMP
|
#endif //WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/renderer.h"
|
#include "wx/renderer.h"
|
||||||
@@ -153,7 +155,7 @@ wxRendererXP::DrawSplitterSash(wxWindow *win,
|
|||||||
|
|
||||||
wxUxThemeEngine::Get()->DrawThemeBackground
|
wxUxThemeEngine::Get()->DrawThemeBackground
|
||||||
(
|
(
|
||||||
hTheme,
|
(WXHTHEME)hTheme,
|
||||||
dc.GetHDC(),
|
dc.GetHDC(),
|
||||||
3 /* RP_BAND */,
|
3 /* RP_BAND */,
|
||||||
0 /* no state */ ,
|
0 /* no state */ ,
|
||||||
|
Reference in New Issue
Block a user