Fixed Simple Toolbar bug; removed 2 pixel kludge in splash screen

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-04-26 20:34:19 +00:00
parent 67a6726a2c
commit e143729845
4 changed files with 7 additions and 6 deletions

View File

@@ -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)