mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
add more cases to messageToBuf. Effects debug build only.
This commit is contained in:
parent
147c55ee43
commit
78dd247307
1 changed files with 10 additions and 1 deletions
|
@ -2316,6 +2316,15 @@ messageToBuf( UINT message, char* buf, int bufSize )
|
||||||
STRCASE(WM_WINDOWPOSCHANGING);
|
STRCASE(WM_WINDOWPOSCHANGING);
|
||||||
STRCASE(WM_SETFOCUS);
|
STRCASE(WM_SETFOCUS);
|
||||||
STRCASE(WM_WINDOWPOSCHANGED);
|
STRCASE(WM_WINDOWPOSCHANGED);
|
||||||
|
STRCASE(WM_PAINT);
|
||||||
|
STRCASE(WM_VSCROLL);
|
||||||
|
STRCASE(WM_LBUTTONDOWN);
|
||||||
|
STRCASE(WM_LBUTTONUP);
|
||||||
|
STRCASE(WM_INITMENUPOPUP);
|
||||||
|
STRCASE(WM_CANCELMODE);
|
||||||
|
STRCASE(WM_EXITMENULOOP);
|
||||||
|
STRCASE(WM_KILLFOCUS);
|
||||||
|
STRCASE(WM_ERASEBKGND);
|
||||||
default:
|
default:
|
||||||
snprintf( buf, bufSize, "%d", message );
|
snprintf( buf, bufSize, "%d", message );
|
||||||
return;
|
return;
|
||||||
|
@ -2324,7 +2333,7 @@ messageToBuf( UINT message, char* buf, int bufSize )
|
||||||
if ( !!str ) {
|
if ( !!str ) {
|
||||||
snprintf( buf, bufSize, "%s", str );
|
snprintf( buf, bufSize, "%s", str );
|
||||||
}
|
}
|
||||||
}
|
} /* messageToBuf */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
XP_U16
|
XP_U16
|
||||||
|
|
Loading…
Add table
Reference in a new issue