Patch level : 10.0

Files correlati     : xvaga.dll
Ricompilazione Demo : [ ]
Commento            :
Ripristinato msw.remap per gestione tolls trasparenti


git-svn-id: svn://10.65.10.50/trunk@17749 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-11-28 15:54:02 +00:00
parent 19bf636676
commit d7d80af327

View File

@ -440,6 +440,14 @@ void xvt_app_create(int argc, char **argv, unsigned long flags,
bool bHasMenu = true, bCanChangeFirm = true;
#ifdef WIN32
if (wxTheApp->GetComCtl32Version() >= 600 && ::wxDisplayDepth() >= 32)
{
wxSystemOptions::SetOption(wxT("msw.display.directdraw"), 1);
wxSystemOptions::SetOption(wxT("msw.remap"), 2);
}
else
wxSystemOptions::SetOption(wxT("msw.remap"), 0);
HWND hwndParent = (HWND)OsWin32_FindMenuContainer();
if (hwndParent != NULL)
{
@ -4039,7 +4047,6 @@ void xvt_vobj_destroy(WINDOW win)
if (w != NULL)
{
xvt_win_set_caret_visible(win, FALSE);
w->Destroy(); // same as delete w
_nice_windows.Delete(win); // Elimina "di nuovo" dalla lista delle finestre attive
}