Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Theme/win32/org/eclipse/swt/internal/theme/ToolItemDrawData.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Theme/win32/org/eclipse/swt/internal/theme/ToolItemDrawData.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Theme/win32/org/eclipse/swt/internal/theme/ToolItemDrawData.java b/bundles/org.eclipse.swt/Eclipse SWT Theme/win32/org/eclipse/swt/internal/theme/ToolItemDrawData.java
index 516595f9be..6f64e4e293 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Theme/win32/org/eclipse/swt/internal/theme/ToolItemDrawData.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Theme/win32/org/eclipse/swt/internal/theme/ToolItemDrawData.java
@@ -26,7 +26,7 @@ public ToolItemDrawData() {
Rectangle computeTrim(Theme theme, GC gc) {
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
- int /*long*/ hTheme = OS.OpenThemeData(0, getClassId());
+ long /*int*/ hTheme = OS.OpenThemeData(0, getClassId());
RECT rect = new RECT ();
rect.left = clientArea.x;
rect.right = clientArea.x + clientArea.width;
@@ -54,7 +54,7 @@ Rectangle computeTrim(Theme theme, GC gc) {
void draw(Theme theme, GC gc, Rectangle bounds) {
if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) {
- int /*long*/ hTheme = OS.OpenThemeData(0, getClassId());
+ long /*int*/ hTheme = OS.OpenThemeData(0, getClassId());
RECT rect = new RECT ();
rect.left = bounds.x;
rect.right = bounds.x + bounds.width;
@@ -137,7 +137,7 @@ int[] getPartId(int part) {
int hit(Theme theme, Point position, Rectangle bounds) {
if (!(OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ())) return DrawData.WIDGET_NOWHERE;
if (!bounds.contains(position)) return DrawData.WIDGET_NOWHERE;
- int /*long*/ hTheme = OS.OpenThemeData(0, getClassId());
+ long /*int*/ hTheme = OS.OpenThemeData(0, getClassId());
try {
RECT rect = new RECT ();
rect.left = bounds.x;

Back to the top