OS/2 updates and initial toolbar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -361,6 +361,7 @@ void wxFillLogFont(
|
||||
STR8 azNames[255];
|
||||
long alIds[255];
|
||||
|
||||
memset(alIds, 0, sizeof(long) * 255);
|
||||
if(!::GpiQuerySetIds( *phPS
|
||||
,lNumLids
|
||||
,alTypes
|
||||
@@ -372,7 +373,8 @@ void wxFillLogFont(
|
||||
::WinReleasePS(*phPS);
|
||||
return;
|
||||
}
|
||||
|
||||
if (*pflId == 0L)
|
||||
*pflId = 1L;
|
||||
for(unsigned long LCNum = 0; LCNum < lNumLids; LCNum++)
|
||||
if(alIds[LCNum] == *pflId)
|
||||
++*pflId;
|
||||
|
||||
Reference in New Issue
Block a user