Changeset 1615 for trunk/src


Ignore:
Timestamp:
Nov 5, 1999, 2:01:33 PM (26 years ago)
Author:
achimha
Message:

source code cleanup, remove warnings

Location:
trunk/src/comctl32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/comctl32.h

    r1058 r1615  
    1 /* $Id: comctl32.h,v 1.8 1999-09-26 11:01:08 achimha Exp $ */
     1/* $Id: comctl32.h,v 1.9 1999-11-05 13:01:32 achimha Exp $ */
    22/*
    33 * Win32 common controls implementation
     
    2424#include "wineuni.h"
    2525
     26#define TRACE(x)
     27#define FIXME(x)
     28#define WARN(x)
     29
     30#define _OS2WIN_H
     31#define NO_ULONG
     32#include <misc.h>
    2633
    2734#ifdef __cplusplus
  • trunk/src/comctl32/comctl32undoc.c

    r1565 r1615  
    1 /* $Id: comctl32undoc.c,v 1.13 1999-11-02 21:44:01 achimha Exp $ */
     1/* $Id: comctl32undoc.c,v 1.14 1999-11-05 13:01:32 achimha Exp $ */
    22/*
    33 * Undocumented functions from COMCTL32.DLL
     
    18311831 */
    18321832LPWSTR WINAPI COMCTL32_StrChrW( LPCWSTR lpStart, WORD wMatch) {
     1833  dprintf(("COMCTL32: StrChrW - unimplemented stub\n"));
    18331834//  return CRTDLL_wcschr(lpStart, wMatch);
     1835  return 0;
    18341836}
    18351837
     
    18471849 */
    18481850INT WINAPI COMCTL32_StrCmpNW( LPCWSTR lpStr1, LPCWSTR lpStr2, int nChar) {
     1851  dprintf(("COMCTL32: StrCmpNW - unimplemented stub\n"));
    18491852//  return lstrncmpW(lpStr1, lpStr2, nChar);
     1853  return 0;
    18501854}
    18511855
     
    18561860INT WINAPI COMCTL32_StrCmpNIW( LPCWSTR lpStr1, LPCWSTR lpStr2, int nChar) {
    18571861//  FIXME("(%s, %s, %i): stub\n", debugstr_w(lpStr1), debugstr_w(lpStr2), nChar);
     1862  dprintf(("COMCTL32: StrCmpNIW - unimplemented stub\n"));
    18581863  return 0;
    18591864}
     
    18641869 */
    18651870LPSTR WINAPI COMCTL32_StrRChrA( LPCSTR lpStart, LPCSTR lpEnd, WORD wMatch) {
     1871  dprintf(("COMCTL32: lstrrchr - unimplemented stub\n"));
    18661872//  return lstrrchr(lpStart, lpEnd, wMatch);
     1873  return 0;
    18671874}
    18681875
     
    18721879 */
    18731880LPWSTR WINAPI COMCTL32_StrRChrW( LPCWSTR lpStart, LPCWSTR lpEnd, WORD wMatch) {
     1881  dprintf(("COMCTL32: StrRChrW - unimplemented stub\n"));
    18741882//  return lstrrchrw(lpStart, lpEnd, wMatch);
     1883  return 0;
    18751884}
    18761885
     
    18881897 */
    18891898LPWSTR WINAPI COMCTL32_StrStrW( LPCWSTR lpFirst, LPCWSTR lpSrch) {
     1899  dprintf(("COMCTL32: StrStrW - unimplemented stub\n"));
    18901900//  return strstrw(lpFirst, lpSrch);
     1901  return 0;
    18911902}
    18921903
     
    18971908INT WINAPI COMCTL32_StrSpnW( LPWSTR lpStr, LPWSTR lpSet) {
    18981909  LPWSTR lpLoop = lpStr;
     1910
     1911  dprintf(("COMCTL32: StrSpnW - unimplemented stub\n"));
     1912  return 0;
    18991913
    19001914  /* validate ptr */
     
    19191933BOOL WINAPI comctl32_410( HWND hw, DWORD b, DWORD c, DWORD d) {
    19201934
     1935  dprintf(("COMCTL32: comctl32_410 - unimplemented stub\n"));
    19211936   //FIXME_(commctrl)("(%x, %lx, %lx, %lx): stub!\n", hw, b, c, d);
    19221937
     
    19341949
    19351950   //FIXME_(commctrl)("(%lx): stub!\n", a);
     1951  dprintf(("COMCTL32: InitMUILanguage - unimplemented stub\n"));
    19361952
    19371953   return TRUE;
  • trunk/src/comctl32/propsheet.c

    r1565 r1615  
    1 /* $Id: propsheet.c,v 1.11 1999-11-02 21:44:02 achimha Exp $ */
     1/* $Id: propsheet.c,v 1.12 1999-11-05 13:01:33 achimha Exp $ */
    22/*
    33 * Property Sheets
     
    890890  PADDING_INFO padding;
    891891
    892   TRACE("index %d\n", index);
     892//  TRACE("index %d\n", index);
    893893
    894894  if (ppshpage->dwFlags & PSP_DLGINDIRECT)
     
    10511051  msgResult = SendMessageA(hwndPage, WM_NOTIFY, 0, (LPARAM) &hdr);
    10521052
    1053   TRACE("msg result %ld\n", msgResult);
     1053//  TRACE("msg result %ld\n", msgResult);
    10541054
    10551055  if (msgResult == -1)
     
    10821082  msgResult = SendMessageA(hwndPage, WM_NOTIFY, 0, (LPARAM) &hdr);
    10831083
    1084   TRACE("msg result %ld\n", msgResult);
     1084//  TRACE("msg result %ld\n", msgResult);
    10851085
    10861086  if (msgResult != 0)
     
    15221522
    15231523  if (!psInfo) {
    1524     FIXME("No psInfo for propertysheet at windows 0x%04x, returning FALSE...\n", hwndDlg);
     1524//    FIXME("No psInfo for propertysheet at windows 0x%04x, returning FALSE...\n", hwndDlg);
    15251525    return FALSE;
    15261526  }
     
    15371537  if (index < 0 || index >= psInfo->nPages)
    15381538    {
    1539       TRACE("Could not find page to remove!\n");
     1539//      TRACE("Could not find page to remove!\n");
    15401540      return FALSE;
    15411541    }
    15421542
    1543   TRACE("total pages %d removing page %d active page %d\n",
    1544         psInfo->nPages, index, psInfo->active_page);
     1543//  TRACE("total pages %d removing page %d active page %d\n",
     1544//        psInfo->nPages, index, psInfo->active_page);
    15451545  /*
    15461546   * Check if we're removing the active page.
     
    15631563    else
    15641564    {
    1565       TRACE("Removing the only page, close the dialog!\n");
     1565//      TRACE("Removing the only page, close the dialog!\n");
    15661566
    15671567      if (psInfo->isModeless)
  • trunk/src/comctl32/tab.c

    r1565 r1615  
    1 /* $Id: tab.c,v 1.16 1999-11-02 21:44:03 achimha Exp $ */
     1/* $Id: tab.c,v 1.17 1999-11-05 13:01:33 achimha Exp $ */
    22/*
    33 * Tab control
     
    396396  pt.y = (INT)HIWORD(lParam);
    397397 
    398   newItem=TAB_InternalHitTest (hwnd, infoPtr,pt,&dummy);
     398  newItem = TAB_InternalHitTest (hwnd, infoPtr, pt, (unsigned int*)&dummy);
    399399 
    400   TRACE("On Tab, item %d\n", newItem);
     400//  TRACE("On Tab, item %d\n", newItem);
    401401   
    402402  if ( (newItem!=-1) &&
     
    14971497   if (len>wineItem->cchTextMax)
    14981498     wineItem->pszText= COMCTL32_ReAlloc (wineItem->pszText, len+1);
    1499    lstrcpyA (wineItem->pszText, tabItem->pszText);
     1499   lstrcpyA ((unsigned char*)wineItem->pszText, tabItem->pszText);
    15001500  }
    15011501
Note: See TracChangeset for help on using the changeset viewer.