wxLayoutStyleInfo ctor doesn't set all fields to -1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-06-09 13:21:28 +00:00
parent 8236a88ae2
commit 7547d64ec0
3 changed files with 41 additions and 22 deletions

View File

@@ -633,10 +633,9 @@ wxLayoutWindow::OnPaint( wxPaintEvent &WXUNUSED(event))
void
wxLayoutWindow::DoPaint(const wxRect *updateRect)
{
// Causes bad flicker under wxGTK!!!
#ifdef __WXGTK__
InternalPaint(updateRect);
#else
#else // Causes bad flicker under wxGTK!!!
Refresh(FALSE); //, updateRect);
if ( !::UpdateWindow(GetHwnd()) )