git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14414
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// whole client area
void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
{
- // if we're using constraints - do use them
-#if wxUSE_CONSTRAINTS
+ // if we're using constraints or sizers - do use them
if ( GetAutoLayout() )
{
Layout();
}
else
-#endif // wxUSE_CONSTRAINTS
{
// do we have _exactly_ one child?
wxWindow *child = (wxWindow *)NULL;
FocusChangeMask |
ColormapChangeMask |
StructureNotifyMask |
+ ConfigureNotify |
PropertyChangeMask
);
{
wmProp.props |= GR_WM_PROPS_CAPTION ;
wmProp.flags |= GR_WM_FLAGS_PROPS ;
+
+ // The default dialog style doesn't include any kind
+ // of border, which is a bit odd. Anyway, inclusion
+ // of a caption surely implies a border.
+ style |= wxTHICK_FRAME;
}
if (style & wxTHICK_FRAME)