summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-07-28 14:18:26 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-25 13:41:44 +0100
commit4a7e3482912c90b73d6e12c82bcd9ce31975e3f1 (patch)
tree2ffbfc6c706da67e58d186a97f01a24c3b9dbceb /vcl/win
parente07157265c56b13c3ad8a61cdcec01a1d3557d66 (diff)
re-write gtksys to use the cleaner GdkScreen API avoiding X & Xinerama
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/app/salinfo.cxx6
-rw-r--r--vcl/win/source/window/salframe.cxx9
2 files changed, 3 insertions, 12 deletions
diff --git a/vcl/win/source/app/salinfo.cxx b/vcl/win/source/app/salinfo.cxx
index 67b23e9c2b91..03d1810b081a 100644
--- a/vcl/win/source/app/salinfo.cxx
+++ b/vcl/win/source/app/salinfo.cxx
@@ -243,11 +243,7 @@ int WinSalSystem::ShowNativeMessageBox(const String& rTitle, const String& rMess
nDefaultButton <= SALSYSTEM_SHOWNATIVEMSGBOX_BTN_NO)
nFlags |= DEFAULT_BTN_MAPPING_TABLE[nButtonCombination][nDefaultButton];
- //#107209 hide the splash screen if active
- ImplSVData* pSVData = ImplGetSVData();
- if (pSVData->mpIntroWindow)
- pSVData->mpIntroWindow->Hide();
-
+ ImplHideSplash();
return MessageBoxW(
0,
reinterpret_cast<LPCWSTR>(rMessage.GetBuffer()),
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 488ff4749d65..5c6bee5f717f 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -5730,9 +5730,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
if ( WM_USER_SYSTEM_WINDOW_ACTIVATED == nMsg )
{
- if (pSVData->mpIntroWindow)
- pSVData->mpIntroWindow->Hide();
-
+ ImplHideSplash();
return 0;
}
@@ -5918,10 +5916,7 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP
ImplSVData* pSVData = ImplGetSVData();
pSVData->maAppData.mnModalMode++;
- // #106431#, hide SplashScreen
- if( pSVData->mpIntroWindow )
- pSVData->mpIntroWindow->Hide();
-
+ ImplHideSplash();
if( pWin )
{
pWin->EnableInput( FALSE, TRUE, TRUE, NULL );