Attempt at fixing Linux build. The OpenGL configuration dialog is

broken, though, so I'm not sure if this is quite right.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2378 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
magumagu9 2009-02-22 22:04:31 +00:00
parent 9ec81d4bf0
commit a32e29aaa5

View File

@ -105,17 +105,19 @@ void SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals)
void DllConfig(HWND _hParent)
{
#if defined(HAVE_WX) && HAVE_WX
#if defined(HAVE_WX) && HAVE_WX
// This is needed because now we use wxEntryCleanup() when closing the configuration window
if (!wxTheApp || !wxTheApp->CallOnInit())
{
#if defined(_WIN32)
wxSetInstance((HINSTANCE)g_hInstance);
#endif
int argc = 0;
char **argv = NULL;
wxEntryStart(argc, argv);
}
#endif
#endif
//Console::Open();
#if defined(_WIN32) && defined(HAVE_WX) && HAVE_WX