]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/app.h
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / include / wx / gtk1 / app.h
index 273d29eda4bca58d5d88982ac71edf2d888c6386..ee059e1bee6920cc138dadfcedc3542654a72363 100644 (file)
@@ -45,11 +45,13 @@ public:
 
     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; }
-#endif // __WXDEBUG__
 
     gint            m_idleTag;
     void RemoveIdleTag();
@@ -66,9 +68,7 @@ public:
 
 private:
     // true if we're inside an assert modal dialog
-#ifdef __WXDEBUG__
     bool m_isInAssert;
-#endif // __WXDEBUG__
 
     DECLARE_DYNAMIC_CLASS(wxApp)
 };