1. wxSpinButton fixed: it now sends EVT_SPIN_UP/DOWN messages (and unnecessary
old code which didn't send them anyhow removed). It also allows to veto the changes, but this feature is not portable and as such is not documented. 2. wxBitmapBuuton doesn't lose its bitmap any more 3. wxImage::ConvertToBitmap() doesn't crash if image is !Ok() but just returns wxNullBitmap. 4. wxProgressDialog looks much nicer under Windows and its estimated/elapsed/ remaining time fields actually show some non random numbers now 5. MDI client window doesn't flicker because wxMDIParentFrame doesn't position it at (0, 0) first before moving it to correct location 6. other minor fixes... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -192,10 +192,8 @@ bool wxMDIParentFrame::Create(wxWindow *parent,
|
||||
if (style & wxCAPTION)
|
||||
msflags |= WS_CAPTION;
|
||||
|
||||
// Adding WS_CLIPCHILDREN causes children not to be properly
|
||||
// drawn when first displaying them.
|
||||
// if (style & wxCLIP_CHILDREN)
|
||||
// msflags |= WS_CLIPCHILDREN;
|
||||
if (style & wxCLIP_CHILDREN)
|
||||
msflags |= WS_CLIPCHILDREN;
|
||||
|
||||
wxWindow::MSWCreate(m_windowId, parent, wxMDIFrameClassName, this, title, x, y, width, height,
|
||||
msflags);
|
||||
@@ -383,9 +381,9 @@ long wxMDIParentFrame::MSWWindowProc(WXUINT message,
|
||||
break;
|
||||
|
||||
case WM_SIZE:
|
||||
// we will leave this message to the base class version, but we
|
||||
// must pass it to DefFrameProc() too
|
||||
MSWDefWindowProc(message, wParam, lParam);
|
||||
// as we don't (usually) resize the MDI client to exactly fit the
|
||||
// client area (we put it below the toolbar, above statusbar &c),
|
||||
// we should not pass this one to DefFrameProc
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user