fix more wxOSX/Carbon warnings in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,8 +34,8 @@ void wxDialog::DoShowModal()
|
||||
SetFocus() ;
|
||||
|
||||
WindowRef windowRef = (WindowRef) GetWXWindow();
|
||||
WindowGroupRef windowGroup;
|
||||
WindowGroupRef formerParentGroup;
|
||||
WindowGroupRef windowGroup = NULL;
|
||||
WindowGroupRef formerParentGroup = NULL;
|
||||
bool resetGroupParent = false;
|
||||
|
||||
if ( GetParent() == NULL )
|
||||
@@ -49,10 +49,10 @@ void wxDialog::DoShowModal()
|
||||
|
||||
wxEventLoop * const
|
||||
loop = static_cast<wxEventLoop *>(wxEventLoop::GetActive());
|
||||
|
||||
|
||||
|
||||
|
||||
wxASSERT_MSG( loop , wxT("No Event Loop in place") );
|
||||
|
||||
|
||||
if ( loop )
|
||||
{
|
||||
while ( IsModal() )
|
||||
@@ -64,4 +64,4 @@ void wxDialog::DoShowModal()
|
||||
{
|
||||
SetWindowGroupParent( windowGroup , formerParentGroup );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user