]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/recguard.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / recguard.h
index db2932d23a2ee5e3f62b08e9ec26d565488c0ad7..3b7fe8e90d9ae485b946b823fdd8204664bf23d2 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     14.08.2003
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_RECGUARD_H_
@@ -29,13 +29,13 @@ class WXDLLIMPEXP_BASE wxRecursionGuard
 public:
     wxRecursionGuard(wxRecursionGuardFlag& flag)
         : m_flag(flag)
-    { 
+    {
         m_isInside = flag++ != 0;
     }
 
     ~wxRecursionGuard()
     {
-        wxASSERT_MSG( m_flag > 0, _T("unbalanced wxRecursionGuards!?") );
+        wxASSERT_MSG( m_flag > 0, wxT("unbalanced wxRecursionGuards!?") );
 
         m_flag--;
     }