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
This commit is contained in:
parent
a697b9169b
commit
a8bd3f2af3
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user