Need to set the m_isShown flag properly during a call to ::Show.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -706,6 +706,14 @@ bool wxTopLevelWindowOS2::Show(
|
|||||||
SWP vSwp;
|
SWP vSwp;
|
||||||
RECTL vRect;
|
RECTL vRect;
|
||||||
|
|
||||||
|
if (bShow != IsShown() )
|
||||||
|
{
|
||||||
|
m_isShown = bShow;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DBUG_RETURN(FALSE);
|
||||||
|
}
|
||||||
if (bShow)
|
if (bShow)
|
||||||
{
|
{
|
||||||
if (m_bMaximizeOnShow)
|
if (m_bMaximizeOnShow)
|
||||||
|
Reference in New Issue
Block a user