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:
parent
c95ff5062e
commit
076aba057e
@ -407,6 +407,7 @@ void xvt_app_create(int argc, char **argv, unsigned long flags,
|
|||||||
EVENT_HANDLER eh, XVT_CONFIG *config)
|
EVENT_HANDLER eh, XVT_CONFIG *config)
|
||||||
{
|
{
|
||||||
xvt_fsys_get_default_dir(NULL); // Init Startup Directory
|
xvt_fsys_get_default_dir(NULL); // Init Startup Directory
|
||||||
|
::wxInitAllImageHandlers();
|
||||||
|
|
||||||
#ifdef SPEECH_API
|
#ifdef SPEECH_API
|
||||||
xvt_dm_enable_speech(0xFF);
|
xvt_dm_enable_speech(0xFF);
|
||||||
@ -558,8 +559,8 @@ void xvt_app_process_pending_events(void)
|
|||||||
{
|
{
|
||||||
while (a->Pending())
|
while (a->Pending())
|
||||||
a->Dispatch();
|
a->Dispatch();
|
||||||
a->ProcessIdle(); // Necessario per wxAUI
|
//a->ProcessIdle(); // Necessario per wxAUI
|
||||||
a->Yield(true);
|
//a->Yield(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ protected:
|
|||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS(TMainApp, wxApp)
|
IMPLEMENT_DYNAMIC_CLASS(TMainApp, wxApp)
|
||||||
|
|
||||||
DECLARE_APP(TMainApp)
|
//DECLARE_APP(TMainApp)
|
||||||
IMPLEMENT_APP(TMainApp)
|
IMPLEMENT_APP(TMainApp)
|
||||||
|
|
||||||
#define TIMER_ID 883
|
#define TIMER_ID 883
|
||||||
@ -42,7 +42,6 @@ bool TMainApp::OnInit()
|
|||||||
const wxString strApp = strWrk.GetName().Lower();
|
const wxString strApp = strWrk.GetName().Lower();
|
||||||
m_sic = new wxSingleInstanceChecker(strApp);
|
m_sic = new wxSingleInstanceChecker(strApp);
|
||||||
|
|
||||||
::wxInitAllImageHandlers();
|
|
||||||
m_Locale.Init(wxLocale::GetSystemLanguage()); // wxLANGUAGE_ITALIAN
|
m_Locale.Init(wxLocale::GetSystemLanguage()); // wxLANGUAGE_ITALIAN
|
||||||
|
|
||||||
if (GetComCtl32Version() >= 600 && ::wxDisplayDepth() >= 32)
|
if (GetComCtl32Version() >= 600 && ::wxDisplayDepth() >= 32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user