fixing build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2010-04-14 17:06:53 +00:00
parent a3f78cebd7
commit 6cb3007944
2 changed files with 9 additions and 29 deletions

View File

@ -34,32 +34,3 @@ void wxDialog::DoShowWindowModal()
void wxDialog::EndWindowModal()
{
}
void wxDialog::DoShowModal()
{
wxCHECK_RET( !IsModal(), wxT("DoShowModal() called twice") );
wxModalDialogs.Append(this);
SetFocus() ;
/*
WindowGroupRef windowGroup;
WindowGroupRef formerParentGroup;
bool resetGroupParent = false;
if ( GetParent() == NULL )
{
windowGroup = GetWindowGroup(windowRef) ;
formerParentGroup = GetWindowGroupParent( windowGroup );
SetWindowGroupParent( windowGroup, GetWindowGroupOfClass( kMovableModalWindowClass ) );
resetGroupParent = true;
}
*/
/*
if ( resetGroupParent )
{
SetWindowGroupParent( windowGroup , formerParentGroup );
}
*/
}

View File

@ -97,6 +97,15 @@ void wxGUIEventLoop::DoRun()
}
}
int wxGUIEventLoop::DoDispatchTimeout(unsigned long timeout)
{
return wxCFEventLoop::DoDispatchTimeout(timeout);
}
void wxGUIEventLoop::DoStop()
{
return wxCFEventLoop::DoStop();
}
// TODO move into a evtloop_osx.cpp
wxModalEventLoop::wxModalEventLoop(wxWindow *modalWindow)