- int error;
-
- m_internal->m_sndWin = ::CreateWindow(wxCanvasClassName, NULL, 0,
- 0, 0, 0, 0, NULL, (HMENU) NULL,
+ // NB: class name must be kept in sync with wxCanvasClassName in
+ // src/msw/app.cpp!
+ m_internal->m_sndWin = ::CreateWindow(wxT("wxWindowClass"), NULL, 0,
+ 0, 0, 0, 0, NULL, (HMENU) NULL,