]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
pen and brush are platform neutral on osx
[wxWidgets.git] / src / common / appcmn.cpp
index c9e6fbcec4d1c2ae7ed1f9445d6092306f10651d..2df9a21aaf44c7220ea72f34ea532e681b965e2e 100644 (file)
@@ -472,10 +472,15 @@ wxRendererNative *wxGUIAppTraitsBase::CreateRenderer()
 
 bool wxGUIAppTraitsBase::ShowAssertDialog(const wxString& msg)
 {
-#if defined(__WXMSW__) || !wxUSE_MSGDLG
     // under MSW we prefer to use the base class version using ::MessageBox()
     // even if wxMessageBox() is available because it has less chances to
     // double fault our app than our wxMessageBox()
+    //
+    // under DFB the message dialog is not always functional right now
+    //
+    // and finally we can't use wxMessageBox() if it wasn't compiled in, of
+    // course
+#if defined(__WXMSW__) || defined(__WXDFB__) || !wxUSE_MSGDLG
     return wxAppTraitsBase::ShowAssertDialog(msg);
 #else // wxUSE_MSGDLG
     wxString msgDlg = msg;