Patch level : xvaga

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
Spostata temporaneamente inizializzazione del convertitore di immagini


git-svn-id: svn://10.65.10.50/trunk@16693 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-06-06 09:10:28 +00:00
parent c95ff5062e
commit 076aba057e
2 changed files with 4 additions and 4 deletions

View File

@ -407,6 +407,7 @@ void xvt_app_create(int argc, char **argv, unsigned long flags,
EVENT_HANDLER eh, XVT_CONFIG *config)
{
xvt_fsys_get_default_dir(NULL); // Init Startup Directory
::wxInitAllImageHandlers();
#ifdef SPEECH_API
xvt_dm_enable_speech(0xFF);
@ -558,8 +559,8 @@ void xvt_app_process_pending_events(void)
{
while (a->Pending())
a->Dispatch();
a->ProcessIdle(); // Necessario per wxAUI
a->Yield(true);
//a->ProcessIdle(); // Necessario per wxAUI
//a->Yield(true);
}
}

View File

@ -22,7 +22,7 @@ protected:
IMPLEMENT_DYNAMIC_CLASS(TMainApp, wxApp)
DECLARE_APP(TMainApp)
//DECLARE_APP(TMainApp)
IMPLEMENT_APP(TMainApp)
#define TIMER_ID 883
@ -42,7 +42,6 @@ bool TMainApp::OnInit()
const wxString strApp = strWrk.GetName().Lower();
m_sic = new wxSingleInstanceChecker(strApp);
::wxInitAllImageHandlers();
m_Locale.Init(wxLocale::GetSystemLanguage()); // wxLANGUAGE_ITALIAN
if (GetComCtl32Version() >= 600 && ::wxDisplayDepth() >= 32)