From a8bd3f2af39a80a77dffb90cab354f17a2cf63b2 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 19 Jun 2008 16:56:20 +0000 Subject: [PATCH] Patch level : 10.0 80 Files correlati : ve0.exe ve6.exe Ricompilazione Demo : [ ] Commento : modifica provvisoria per fare funzionare le message box etc git-svn-id: svn://10.65.10.50/trunk@16790 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- xvaga/xvaga.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/xvaga/xvaga.cpp b/xvaga/xvaga.cpp index 7b33b3c7a..f3b7e4a08 100755 --- a/xvaga/xvaga.cpp +++ b/xvaga/xvaga.cpp @@ -86,8 +86,10 @@ void TMessageBox::OnButton(wxCommandEvent& evt) EndModal(ec); } -void TMessageBox::OnMouseCaptureLost(wxMouseCaptureLostEvent& WXUNUSED(e)) +void TMessageBox::OnMouseCaptureLost(wxMouseCaptureLostEvent& e) { + e.Skip(); + // Segnaposto inutile nella realta' ... ma indispensabile per qualche genio di wxWidgets } @@ -156,9 +158,9 @@ int _MessageBox(const wxString& msg, int nStyle) { xvt_dm_post_speech(msg, 1, TRUE); - // int ret = ::wxMessageBox(msg, _GetAppTitle(), nStyle); - TMessageBox dlg(msg, nStyle); - const int ret = dlg.ShowModal(); + int ret = ::wxMessageBox(msg, _GetAppTitle(), nStyle); +/* TMessageBox dlg(msg, nStyle); + const int ret = dlg.ShowModal(); */ switch(ret) {