Added Statistics dimension/categories

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@84 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-11-20 22:13:52 +00:00
parent 23abbedcbd
commit b6f1a9aac7
18 changed files with 315 additions and 77 deletions
+5 -5
View File
@@ -11,7 +11,7 @@
#include <util/rotation.hpp>
#include <wx/mstream.h>
#if defined(wxMSW) && wxUSE_UXTHEME
#if wxUSE_UXTHEME
#include <wx/msw/uxtheme.h>
#include <tmschema.h>
#include <shlobj.h>
@@ -101,19 +101,19 @@ void draw3DBorder(DC& dc, int x1, int y1, int x2, int y2) {
}
void draw_control_border(Window* win, DC& dc, const wxRect& rect) {
#if defined(wxMSW) && wxUSE_UXTHEME
#if wxUSE_UXTHEME
RECT r;
wxUxThemeEngine *themeEngine = wxUxThemeEngine::Get();
if (themeEngine && themeEngine->IsAppThemed()) {
wxUxThemeHandle hTheme(win, L_("EDIT"));
wxUxThemeHandle hTheme(win, _("EDIT"));
r.left = rect.x -1;
r.top = rect.y -1;
r.right = rect.x + rect.width + 1;
r.bottom = rect.y + rect.height + 1;
if (hTheme) {
wxUxThemeEngine::Get()->DrawThemeBackground(
hTheme,
dc.GetHDC(),
(HTHEME)hTheme,
(HDC)dc.GetHDC(),
EP_EDITTEXT,
ETS_NORMAL,
&r,