]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/msgdlg.cpp
porting forward scrolling fix
[wxWidgets.git] / src / mac / carbon / msgdlg.cpp
index dff0c7e064096436f72ecd2bae2a3e25702b1e81..9a6de9e120abb2e0fc70a443274fe8c122d05fbc 100644 (file)
@@ -103,7 +103,6 @@ int wxMessageDialog::ShowModal()
     }
 
 
-#if TARGET_API_MAC_OSX
     if ( !wxIsMainThread() )
     {
         CFStringRef defaultButtonTitle = NULL;
@@ -163,7 +162,6 @@ int wxMessageDialog::ShowModal()
             resultbutton = buttonId[exitButton];
     }
     else
-#endif
     {
         short result;