]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed compilation for Mac OS X 10.1.4
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Jun 2002 18:55:43 +0000 (18:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 23 Jun 2002 18:55:43 +0000 (18:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 9dc3dcfa7ac535f88e5f0d5ed6738ce667c750a1..b9da5f4e6bb6027044e93a546a4a3241d7b78a9e 100644 (file)
@@ -885,7 +885,7 @@ void MyModelessDialog::OnClose(wxCloseEvent& event)
 // ----------------------------------------------------------------------------
 
 MyModalDialog::MyModalDialog(wxWindow *parent)
-             : wxDialog(parent, -1, _T("Modal dialog"))
+             : wxDialog(parent, -1, wxString(_T("Modal dialog")))
 {
     wxBoxSizer *sizerTop = new wxBoxSizer(wxHORIZONTAL);