git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34238
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_ctrl->GetParent()->Layout();
m_ctrl->GetParent()->Refresh();
m_ctrl->GetParent()->Update();
m_ctrl->GetParent()->Layout();
m_ctrl->GetParent()->Refresh();
m_ctrl->GetParent()->Update();
+ m_ctrl->SetSize(m_ctrl->GetSize());
m_ctrl->GetParent()->Layout();
m_ctrl->GetParent()->Refresh();
m_ctrl->GetParent()->Update();
m_ctrl->GetParent()->Layout();
m_ctrl->GetParent()->Refresh();
m_ctrl->GetParent()->Update();
+ m_ctrl->SetSize(m_ctrl->GetSize());
if (m_hNotifyWnd && m_bVideo)
{
MCI_DGV_RECT_PARMS putParms; //ifdefed MCI_DGV_PUT_PARMS
if (m_hNotifyWnd && m_bVideo)
{
MCI_DGV_RECT_PARMS putParms; //ifdefed MCI_DGV_PUT_PARMS
- putParms.rc.top = 0;
- putParms.rc.bottom = 0;
- putParms.rc.right = w;
+ memset(&putParms, 0, sizeof(MCI_DGV_RECT_PARMS));
-
- wxMCIVERIFY( mciSendCommand(m_hDev, MCI_PUT,
+ putParms.rc.right = w;
+
+ //wxStackWalker will crash and burn here on assert
+ //and mci doesn't like 0 and 0 for some reason (out of range )
+ //so just don't it in that case
+ if(w || h)
+ {
+ wxMCIVERIFY( mciSendCommand(m_hDev, MCI_PUT,
0x00040000L, //MCI_DGV_PUT_DESTINATION
(DWORD)(LPSTR)&putParms) );
0x00040000L, //MCI_DGV_PUT_DESTINATION
(DWORD)(LPSTR)&putParms) );