http://bugs.winehq.org/show_bug.cgi?id=17662
--- Comment #17 from Mihail Balabin mbalabin@googlemail.com 2009-05-12 04:27:16 --- (In reply to comment #16)
Mihail, another request: do you have a Wine tree compiled? Does the problem persist if you run 'wine notepad.exe' from inside the Wine build tree? (There is no need to uninstall existing Wine binaries, but just in case you might try to do that as well as an additional troubleshooting step).
I didn't compile wine from source. I use binary packages from winehq.org.