Added wxHelpEvent, wxContextHelp (MSW only so far), modified help sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,7 +46,14 @@ wxSplashScreen::wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int mil
|
||||
|
||||
m_window = new wxSplashScreenWindow(bitmap, this, -1, pos, size, wxNO_BORDER);
|
||||
|
||||
SetClientSize(bitmap.GetWidth(), bitmap.GetHeight());
|
||||
// For some reason, we need to make the client size a couple of pixels
|
||||
// bigger for all of the bitmap to show.
|
||||
#ifdef __WXMSW__
|
||||
int fudge = 2;
|
||||
#else
|
||||
int fudge = 0;
|
||||
#endif
|
||||
SetClientSize(bitmap.GetWidth()+fudge, bitmap.GetHeight()+fudge);
|
||||
|
||||
if (m_splashStyle & wxSPLASH_CENTRE_ON_PARENT)
|
||||
CentreOnParent();
|
||||
|
||||
Reference in New Issue
Block a user