Patch level :10.0

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :avviato il programma!!!


git-svn-id: svn://10.65.10.50/trunk@15879 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2007-12-14 12:24:58 +00:00
parent 3e76b8784c
commit 9c3428c116
2 changed files with 4 additions and 10 deletions

View File

@ -368,11 +368,11 @@ WINDOW cur_win()
if (w != NULL)
{
win = w->win();
if (!is_valid_window(w->win()))
/*if (!is_valid_window(win))
{
w->stop_run(K_FORCE_CLOSE);
win = NULL_WIN;
}
}*/
}
return win;
}

View File

@ -468,20 +468,14 @@ bool TwxWindowBase::CreateBase(wxWindow *parent, wxWindowID id, const wxString &
// Evita inutili sfarfallamenti in quanto wxWidgets crea le finestre visibili per default
wxWindowBase::Show(false);
bool ok = Create(parent, id, pos, size, style, title);
if (ok)
{
#if wxCHECK_VERSION(2,8,0)
#else
SetTitle(title); // Triste necessita', la Create sembra ignorare il titolo
#endif
}
return ok;
}
TwxWindowBase::TwxWindowBase(wxWindow *parent, wxWindowID id, const wxString &title,
const wxPoint &pos, const wxSize &size, long style)
{
wxASSERT(CreateBase(parent, id, title, pos, size, style));
CreateBase(parent, id, title, pos, size, style);
}
IMPLEMENT_DYNAMIC_CLASS(TwxWindow, TwxWindowBase)