Skip to content

Commit 60e822c

Browse files
HeikoKlareclaude
andcommitted
[Win32] Remove dead Windows CE/Mobile constants from OS.java
SPI_SETSIPINFO (Pocket PC Soft Input Panel), NM_RECOGNIZEGESTURE (Windows CE gesture notification, a confusing duplicate of NM_RELEASEDCAPTURE), and WS_EX_CAPTIONOKBTN (Windows Mobile caption OK button) are vestiges of CE/Mobile support that was dropped long ago. None of the three constants is referenced anywhere in the SWT codebase. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e659911 commit 60e822c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32

bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,6 @@ public class OS extends C {
982982
public static final int NM_CLICK = 0xfffffffe;
983983
public static final int NM_CUSTOMDRAW = NM_FIRST - 12;
984984
public static final int NM_DBLCLK = 0xfffffffd;
985-
public static final int NM_RECOGNIZEGESTURE = NM_FIRST - 16;
986985
public static final int NM_RELEASEDCAPTURE = NM_FIRST - 16;
987986
public static final int NM_RETURN = 0xfffffffc;
988987
public static final int NOTIFYICONDATA_V2_SIZE = NOTIFYICONDATA_V2_SIZE ();
@@ -1251,7 +1250,6 @@ public class OS extends C {
12511250
public static final int SPI_GETWHEELSCROLLCHARS = 108;
12521251
public static final int SPI_GETWHEELSCROLLLINES = 104;
12531252
public static final int SPI_GETCARETWIDTH = 0x2006;
1254-
public static final int SPI_SETSIPINFO = 224;
12551253
public static final int SPI_SETHIGHCONTRAST = 67;
12561254
public static final int SRCAND = 0x8800c6;
12571255
public static final int SRCCOPY = 0xcc0020;
@@ -1841,7 +1839,6 @@ public class OS extends C {
18411839
public static final int WS_CLIPSIBLINGS = 0x4000000;
18421840
public static final int WS_DISABLED = 0x4000000;
18431841
public static final int WS_EX_APPWINDOW = 0x40000;
1844-
public static final int WS_EX_CAPTIONOKBTN = 0x80000000;
18451842
public static final int WS_EX_CLIENTEDGE = 0x200;
18461843
public static final int WS_EX_COMPOSITED = 0x2000000;
18471844
public static final int WS_EX_DLGMODALFRAME = 0x1;

0 commit comments

Comments
 (0)