fix for 3m
svn: r966
This commit is contained in:
parent
f9b58b05b7
commit
cfbc057729
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user