git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9893
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}}
\winhelpignore{\author{Julian Smart, Robert Roebling, Vadim Zeitlin,
Robin Dunn, et al}
-\date{May 25th 2001}
+\date{April 25th 2001}
}
\makeindex
\begin{document}
// 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
void wxSplashScreen::OnNotify(wxTimerEvent& event)
{
- m_timer.Stop();
- this->Destroy();
+ Close(TRUE);
}
void wxSplashScreen::OnCloseWindow(wxCloseEvent& event)
if ( tool && tool->CanBeToggled() )
{
- tool->Toggle();
+ if (tool->IsToggled())
+ tool->Toggle();
DrawTool(tool);
}
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 )