对的.
in the wall 是指门、窗等嵌在墙上的
on the wall 是指东西贴、挂在墙上的
eg.There is a picture on the wall.
There are three windows in the wall.