diff --git a/docs/latex/wx/manual.tex b/docs/latex/wx/manual.tex index 8f94319c62..188a324052 100644 --- a/docs/latex/wx/manual.tex +++ b/docs/latex/wx/manual.tex @@ -31,7 +31,7 @@ }} \winhelpignore{\author{Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al} -\date{May 25th 2001} +\date{April 25th 2001} } \makeindex \begin{document} diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index 54c8982dc9..1f7932c5a6 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -48,8 +48,9 @@ wxSplashScreen::wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int mil // For some reason, we need to make the client size a couple of pixels // bigger for all of the bitmap to show. + // Or do we? #ifdef __WXMSW__ - int fudge = 2; + int fudge = 0; #else int fudge = 0; #endif @@ -78,8 +79,7 @@ wxSplashScreen::~wxSplashScreen() void wxSplashScreen::OnNotify(wxTimerEvent& event) { - m_timer.Stop(); - this->Destroy(); + Close(TRUE); } void wxSplashScreen::OnCloseWindow(wxCloseEvent& event) diff --git a/src/generic/tbarsmpl.cpp b/src/generic/tbarsmpl.cpp index 33d0dfeb9f..99248be4c5 100644 --- a/src/generic/tbarsmpl.cpp +++ b/src/generic/tbarsmpl.cpp @@ -682,7 +682,8 @@ void wxToolBarSimple::SpringUpButton(int id) if ( tool && tool->CanBeToggled() ) { - tool->Toggle(); + if (tool->IsToggled()) + tool->Toggle(); DrawTool(tool); } diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index 3c235e7f3d..e3196d4817 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -1149,7 +1149,7 @@ bool wxMDIClientWindow::CreateClient(wxMDIParentFrame *parent, long style) ccs.hWindowMenu = (HMENU) parent->GetWindowMenu()->GetHMenu(); ccs.idFirstChild = wxFIRST_MDI_CHILD; - DWORD msStyle = MDIS_ALLCHILDSTYLES | WS_VISIBLE | WS_CHILD | WS_CLIPCHILDREN; + DWORD msStyle = /* MDIS_ALLCHILDSTYLES | */ WS_VISIBLE | WS_CHILD | WS_CLIPCHILDREN; if ( style & wxHSCROLL ) msStyle |= WS_HSCROLL; if ( style & wxVSCROLL )