git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28507
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- support for alpha channel in toolbar bitmaps (Jurgen Doornik)
- wxFileDialog can now be moved and centered (Randall Fox)
- support for alpha channel in toolbar bitmaps (Jurgen Doornik)
- wxFileDialog can now be moved and centered (Randall Fox)
+wxUniv/X11:
+
+- fixed fatal crash when opening a menu
+
wxWinCE:
- added automatized but customizable handling of native SmartPhone menus
wxWinCE:
- added automatized but customizable handling of native SmartPhone menus
if (event->update.utype == GR_UPDATE_SIZE)
#endif
{
if (event->update.utype == GR_UPDATE_SIZE)
#endif
{
+ wxTopLevelWindow *tlw = wxDynamicCast(win, wxTopLevelWindow);
+ if ( tlw )
- wxTopLevelWindow *tlw = (wxTopLevelWindow*) win;
tlw->SetConfigureGeometry( XConfigureEventGetX(event), XConfigureEventGetY(event),
XConfigureEventGetWidth(event), XConfigureEventGetHeight(event) );
}
tlw->SetConfigureGeometry( XConfigureEventGetX(event), XConfigureEventGetY(event),
XConfigureEventGetWidth(event), XConfigureEventGetHeight(event) );
}
- if (win->IsTopLevel() && win->IsShown())
+ if ( tlw && tlw->IsShown() )
- wxTopLevelWindowX11 *tlw = (wxTopLevelWindowX11 *) win;
tlw->SetNeedResizeInIdle();
}
else
tlw->SetNeedResizeInIdle();
}
else
}
#if !wxUSE_NANOX
case PropertyNotify:
}
#if !wxUSE_NANOX
case PropertyNotify: