From cfbc057729797920feaf8c1eabb4198a632f302b Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 4 Oct 2005 16:11:08 +0000 Subject: [PATCH] fix for 3m svn: r966 --- src/wxwindow/src/msw/wx_win.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wxwindow/src/msw/wx_win.cxx b/src/wxwindow/src/msw/wx_win.cxx index f1b792bdf9..4842d38d14 100644 --- a/src/wxwindow/src/msw/wx_win.cxx +++ b/src/wxwindow/src/msw/wx_win.cxx @@ -1427,7 +1427,9 @@ void wxWnd::Create(wxWnd *parent, char *wclass, wxWindow *wx_win, char *title, if (is_dialog) { /* Creating a dialog */ - handle = ::CreateDialogW(wxhInstance, wxWIDE_STRING(dialog_template), hParent, + wchar_t *ws; + ws = wxWIDE_STRING(dialog_template); + handle = ::CreateDialogW(wxhInstance, ws, hParent, (DLGPROC)wxDlgProc); if (handle == 0) {