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();
|
||||
|
||||
m_hTheme = engine ? engine->OpenThemeData(win->GetHWND(), classes)
|
||||
: NULL;
|
||||
m_hTheme =
|
||||
engine ? (WXHTHEME)engine->OpenThemeData(win->GetHWND(), classes)
|
||||
: NULL;
|
||||
}
|
||||
|
||||
operator WXHTHEME() const { return m_hTheme; }
|
||||
|
@@ -26,6 +26,8 @@
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/string.h"
|
||||
#include "wx/window.h"
|
||||
#include "wx/dc.h"
|
||||
#endif //WX_PRECOMP
|
||||
|
||||
#include "wx/renderer.h"
|
||||
@@ -153,7 +155,7 @@ wxRendererXP::DrawSplitterSash(wxWindow *win,
|
||||
|
||||
wxUxThemeEngine::Get()->DrawThemeBackground
|
||||
(
|
||||
hTheme,
|
||||
(WXHTHEME)hTheme,
|
||||
dc.GetHDC(),
|
||||
3 /* RP_BAND */,
|
||||
0 /* no state */ ,
|
||||
|
Reference in New Issue
Block a user