Ignore:
Timestamp:
Dec 18, 2002, 1:28:08 PM (23 years ago)
Author:
sandervl
Message:

removed obsolete files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/mdi.c

    r9437 r9523  
    9191#include "pmwindow.h"
    9292#include <heapstring.h>
    93 #define WIN_GetFullHandle(a)    a
     93
     94#include "ctrlconf.h"
    9495#endif
    9596
     
    142143static HWND MDI_MoreWindowsDialog(HWND);
    143144static void MDI_SwapMenuItems(HWND, UINT, UINT);
    144 #ifdef __WIN32OS2__
    145        LRESULT WINAPI MDIClientWndProcA( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
    146        LRESULT WINAPI MDIClientWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
    147 #else
    148145static LRESULT WINAPI MDIClientWndProcA( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
    149146static LRESULT WINAPI MDIClientWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
    150 #endif
    151147
    152148/* -------- Miscellaneous service functions ----------
     
    181177
    182178
    183 #ifndef __WIN32OS2__
    184179/*********************************************************************
    185180 * MDIClient class descriptor
     
    196191};
    197192
     193#ifndef __WIN32OS2__
    198194static MDICLIENTINFO *get_client_info( HWND client )
    199195{
     
    23792375}
    23802376
    2381 #ifdef __WIN32OS2__
    2382 
    2383 #define MDICLIENTCLASSNAMEA "MDICLIENT"
    2384 #define MDICLIENTCLASSNAMEW L"MDICLIENT"
    2385 
    2386 //******************************************************************************
    2387 //******************************************************************************
    2388 BOOL MDICLIENT_Register()
    2389 {
    2390     WNDCLASSA wndClass;
    2391 
    2392 //SvL: Don't check this now
    2393 //    if (GlobalFindAtomA(MDICLIENTCLASSNAMEA)) return FALSE;
    2394 
    2395     ZeroMemory(&wndClass,sizeof(WNDCLASSA));
    2396     wndClass.style         = CS_GLOBALCLASS;
    2397     wndClass.lpfnWndProc   = (WNDPROC)MDIClientWndProcA;
    2398     wndClass.cbClsExtra    = 0;
    2399     wndClass.cbWndExtra    = 0;
    2400     wndClass.hCursor       = LoadCursorA(0,IDC_ARROWA);;
    2401     wndClass.hbrBackground = (HBRUSH)GetStockObject(GRAY_BRUSH);
    2402     wndClass.lpszClassName = MDICLIENTCLASSNAMEA;
    2403 
    2404     return RegisterClassA(&wndClass);
    2405 }
    2406 //******************************************************************************
    2407 //******************************************************************************
    2408 BOOL MDICLIENT_Unregister()
    2409 {
    2410     if (GlobalFindAtomA(MDICLIENTCLASSNAMEA))
    2411             return UnregisterClassA(MDICLIENTCLASSNAMEA,(HINSTANCE)NULL);
    2412     else    return FALSE;
    2413 }
    2414 //******************************************************************************
    2415 //******************************************************************************
    2416 #endif
Note: See TracChangeset for help on using the changeset viewer.