compile fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2045 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-01-31 20:31:19 +00:00
parent cdb8e2009d
commit ae84837320
2 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,7 @@ private:
class Win32Window : public GLWindow class Win32Window : public GLWindow
{ {
public: public:
Win32Window {} Win32Window() {}
}; };
#endif //_WIN32 #endif //_WIN32

View File

@ -150,8 +150,10 @@ void SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals) {
void DllConfig(HWND _hParent) void DllConfig(HWND _hParent)
{ {
wxWindow * win = new wxWindow(); wxWindow * win = new wxWindow();
#ifdef _WIN32
win->SetHWND((WXHWND)_hParent); win->SetHWND((WXHWND)_hParent);
win->AdoptAttributesFromHWND(); win->AdoptAttributesFromHWND();
#endif
//win->Reparent(wxGetApp().GetTopWindow()); //win->Reparent(wxGetApp().GetTopWindow());
ConfigDialog *frame = new ConfigDialog(win); ConfigDialog *frame = new ConfigDialog(win);
g_Config.Load(); g_Config.Load();