From: Kevin Ollivier Date: Sat, 23 Jan 2010 20:10:17 +0000 (+0000) Subject: Remove assert that was used during testing while changing style flags. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/45bc06dfaf9c148094ab23429af620be7e5fdd99 Remove assert that was used during testing while changing style flags. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/dialog.mm b/src/osx/cocoa/dialog.mm index 8976d677f5..2e6a9e4415 100644 --- a/src/osx/cocoa/dialog.mm +++ b/src/osx/cocoa/dialog.mm @@ -32,8 +32,6 @@ void wxDialog::ShowWindowModal() NSWindow* parentWindow = parent->GetWXWindow(); NSWindow* theWindow = GetWXWindow(); - - wxASSERT_MSG([theWindow styleMask] & NSDocModalWindowMask, "Window must have DocModal mask set."); [NSApp beginSheet: theWindow modalForWindow: parentWindow