Mercurial > dwindows
comparison os2/dw.c @ 1311:5f3ce2b1e82d
Fixed DW_MENU_POPUP failing on OS/2 due to an invalid sanity check.
Updated the readme with menu and debug changes.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 04 Nov 2011 05:55:35 +0000 |
parents | 47dbe605a03f |
children | c969db49606e |
comparison
equal
deleted
inserted
replaced
1310:47dbe605a03f | 1311:5f3ce2b1e82d |
---|---|
4727 { | 4727 { |
4728 MENUITEM miSubMenu; | 4728 MENUITEM miSubMenu; |
4729 char buffer[30]; | 4729 char buffer[30]; |
4730 int is_checked, is_disabled; | 4730 int is_checked, is_disabled; |
4731 | 4731 |
4732 if ( !menux || id > 65536 ) | 4732 if ( !menux || !WinIsWindow(dwhab, menux) ) |
4733 return NULLHANDLE; | 4733 return NULLHANDLE; |
4734 | 4734 |
4735 if ( end ) | 4735 if ( end ) |
4736 miSubMenu.iPosition=MIT_END; | 4736 miSubMenu.iPosition=MIT_END; |
4737 else | 4737 else |