Ignore:
Timestamp:
Jul 15, 2009, 10:34:49 AM (16 years ago)
Author:
[email protected]
Message:

2009-07-15 Yong Li <[email protected]>

Reviewed by Adam Treat.

https://bugs.webkit.org/show_bug.cgi?id=27306
Use RegisterClass instead of RegisterClassEx on WinCE.

  • wtf/win/MainThreadWin.cpp: (WTF::initializeMainThreadPlatform):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/win/MainThreadWin.cpp

    r44765 r45924  
    11/*
    22 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
     3 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
    34 *
    45 * Redistribution and use in source and binary forms, with or without
     
    5657        return;
    5758
     59#if PLATFORM(WINCE)
     60    WNDCLASS wcex;
     61    memset(&wcex, 0, sizeof(WNDCLASS));
     62#else
    5863    WNDCLASSEX wcex;
    5964    memset(&wcex, 0, sizeof(WNDCLASSEX));
    6065    wcex.cbSize = sizeof(WNDCLASSEX);
     66#endif
    6167    wcex.lpfnWndProc    = ThreadingWindowWndProc;
    6268    wcex.lpszClassName  = kThreadingWindowClassName;
     69#if PLATFORM(WINCE)
     70    RegisterClass(&wcex);
     71#else
    6372    RegisterClassEx(&wcex);
     73#endif
    6474
    6575    threadingWindowHandle = CreateWindow(kThreadingWindowClassName, 0, 0,
Note: See TracChangeset for help on using the changeset viewer.