fix for 3m

svn: r966
This commit is contained in:
Matthew Flatt 2005-10-04 16:11:08 +00:00
parent f9b58b05b7
commit cfbc057729

View File

@ -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) {