simplifying code, removing outdated API

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-01-25 22:27:42 +00:00
parent bdb5b32a58
commit 4d572a2cac
4 changed files with 53 additions and 58 deletions

View File

@@ -23,14 +23,12 @@
#include "wx/osx/private.h"
#include "wx/evtloop.h"
extern wxList wxModalDialogs;
void wxDialog::EndWindowModal()
{
// Nothing to do for now.
}
void wxDialog::ShowWindowModal()
void wxDialog::DoShowWindowModal()
{
// If someone wants to add support for this to wxOSX Carbon, here would
// be the place to start: http://trac.wxwidgets.org/ticket/9459
@@ -41,9 +39,6 @@ void wxDialog::ShowWindowModal()
void wxDialog::DoShowModal()
{
wxCHECK_RET( !IsModal(), wxT("DoShowModal() called twice") );
wxModalDialogs.Append(this);
SetFocus() ;