mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 23:43:39 +00:00
[RSHELL]
* Fix some more C-style casts, and misc coding style changes. * CMenuBand: Create a skeleton of the functions that would handle SMIF_TRACKPOPUP submenus. * CMenuDeskBar: Fix the redraw issue that prevented submenus from working as expected. CORE-7886 svn path=/branches/shell-experiments/; revision=62248
This commit is contained in:
parent
7c921822b4
commit
f1281f1369
5 changed files with 100 additions and 51 deletions
|
@ -24,6 +24,7 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(menusite);
|
||||
|
||||
#if 0
|
||||
bool _assert(bool cond, LPCSTR expr, LPCSTR file, DWORD line, LPCSTR func)
|
||||
{
|
||||
#if DBG
|
||||
|
@ -36,6 +37,9 @@ bool _assert(bool cond, LPCSTR expr, LPCSTR file, DWORD line, LPCSTR func)
|
|||
return cond;
|
||||
}
|
||||
#define DBGASSERT(x) _assert(!!(x), #x, __FILE__, __LINE__, __FUNCSIG__)
|
||||
#else
|
||||
#define DBGASSERT(x) (!!(x))
|
||||
#endif
|
||||
|
||||
class CMenuSite :
|
||||
public CComObjectRootEx<CComMultiThreadModelNoCS>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue