]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/app.h
work around (harmless) warnings in VC7 release build
[wxWidgets.git] / include / wx / gtk1 / app.h
index 273d29eda4bca58d5d88982ac71edf2d888c6386..ee059e1bee6920cc138dadfcedc3542654a72363 100644 (file)
@@ -45,11 +45,13 @@ public:
 
     static bool InitialzeVisual();
 
 
     static bool InitialzeVisual();
 
-#ifdef __WXDEBUG__
-    virtual void OnAssert(const wxChar *file, int line, const wxChar *cond, const wxChar *msg);
+    virtual void OnAssertFailure(const wxChar *file,
+                                 int line,
+                                 const wxChar *func,
+                                 const wxChar *cond,
+                                 const wxChar *msg);
 
     bool IsInAssert() const { return m_isInAssert; }
 
     bool IsInAssert() const { return m_isInAssert; }
-#endif // __WXDEBUG__
 
     gint            m_idleTag;
     void RemoveIdleTag();
 
     gint            m_idleTag;
     void RemoveIdleTag();
@@ -66,9 +68,7 @@ public:
 
 private:
     // true if we're inside an assert modal dialog
 
 private:
     // true if we're inside an assert modal dialog
-#ifdef __WXDEBUG__
     bool m_isInAssert;
     bool m_isInAssert;
-#endif // __WXDEBUG__
 
     DECLARE_DYNAMIC_CLASS(wxApp)
 };
 
     DECLARE_DYNAMIC_CLASS(wxApp)
 };