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