X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..3225a4b8b8656f25dac6cb20684a3c2c273cf796:/src/os2/toplevel.cpp?ds=sidebyside diff --git a/src/os2/toplevel.cpp b/src/os2/toplevel.cpp index cdde443bac..b7df26740e 100644 --- a/src/os2/toplevel.cpp +++ b/src/os2/toplevel.cpp @@ -6,7 +6,7 @@ // Created: 30.12.01 // RCS-ID: $Id$ // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) -// License: wxWindows licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -246,9 +246,7 @@ WXDWORD wxTopLevelWindowOS2::OS2GetStyle( // Invalid for frame windows under PM } - if (lStyle & wxTINY_CAPTION_VERT) - lMsflags |= FCF_TASKLIST; - if (lStyle & wxTINY_CAPTION_HORIZ) + if (lStyle & wxTINY_CAPTION) lMsflags |= FCF_TASKLIST; if ((lStyle & wxRESIZE_BORDER) == 0) @@ -640,8 +638,8 @@ bool wxTopLevelWindowOS2::Create( { // // We have different dialog templates to allow creation of dialogs - // with & without captions under OS2indows, resizeable or not (but a - // resizeable dialog always has caption - otherwise it would look too + // with & without captions under OS2indows, resizable or not (but a + // resizable dialog always has caption - otherwise it would look too // strange) // ULONG ulDlgTemplate; @@ -1017,7 +1015,7 @@ void wxTopLevelWindowOS2::SetIcons( const wxIcon& vIcon = rIcons.GetIconOfExactSize(32); - if (vIcon.Ok()) + if (vIcon.IsOk()) { ::WinSendMsg( m_hFrame ,WM_SETICON