]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
Fixed overlapping buttons in wizard on MacOS X
[wxWidgets.git] / src / common / appcmn.cpp
index 6177cbcc67e87f16d9172deff4724c3c4898e7fd..cfd1d3df1408d8896c34a66d6b1bf642bbc34d76 100644 (file)
@@ -494,6 +494,17 @@ void wxTrap()
 #endif // Win/Unix
 }
 
+
+void wxAssert(int cond,
+                  const wxChar *szFile,
+                  int nLine,
+                  const wxChar *szCond,
+                  const wxChar *szMsg) 
+{
+   if ( !cond )
+          wxOnAssert(szFile, nLine, szCond, szMsg);
+}
+  
 // show the assert modal dialog
 static
 void ShowAssertDialog(const wxChar *szFile,