]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/btncmn.cpp
storing modal returncode correctly for carbon
[wxWidgets.git] / src / common / btncmn.cpp
index 670dceacdf4963615f7a08578f2aa0a9b8b106d2..c0a943189bf2e3ae780499a0904ee48d1df163c5 100644 (file)
@@ -39,7 +39,7 @@ wxWindow *wxButtonBase::SetDefault()
     wxTopLevelWindow * const
         tlw = wxDynamicCast(wxGetTopLevelParent(this), wxTopLevelWindow);
 
     wxTopLevelWindow * const
         tlw = wxDynamicCast(wxGetTopLevelParent(this), wxTopLevelWindow);
 
-    wxCHECK_MSG( tlw, NULL, _T("button without top level window?") );
+    wxCHECK_MSG( tlw, NULL, wxT("button without top level window?") );
 
     return tlw->SetDefaultItem(this);
 }
 
     return tlw->SetDefaultItem(this);
 }