Changeset 411


Ignore:
Timestamp:
Jan 22, 2013, 11:43:26 PM (13 years ago)
Author:
dmik
Message:

jdk: Make sure RICHED32.DLL is used for java.awt.TextArea.

This makes this class actually work. See #202 for details.

Location:
trunk/openjdk/jdk/src/windows/native/sun/windows
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/src/windows/native/sun/windows/awt_TextArea.cpp

    r333 r411  
    5555
    5656WNDPROC AwtTextArea::sm_pDefWindowProc = NULL;
     57#ifdef __WIN32OS2__
     58// Odin only has RICHED32.DLL (Wrapper for Rich Text 1.0)
     59BOOL AwtTextArea::sm_RichEdit20 = FALSE;
     60#else
    5761BOOL AwtTextArea::sm_RichEdit20 = (IS_WIN98 || IS_NT);
     62#endif
    5863
    5964/************************************************************************
  • trunk/openjdk/jdk/src/windows/native/sun/windows/awt_dlls.cpp

    r278 r411  
    277277load_rich_edit_library() {
    278278    static int initialized = 0;
     279#ifdef __WIN32OS2__
     280    // Odin only has RICHED32.DLL (Wrapper for Rich Text 1.0)
     281    BOOL isRichEdit32Needed = TRUE;
     282#else
    279283    BOOL isRichEdit32Needed = IS_WIN95 && !IS_WIN98;
     284#endif
    280285
    281286    if (initialized) {
Note: See TracChangeset for help on using the changeset viewer.