>>7309418>>7305130mydesktop is a class and desktop was the class pointer right before the function was called. After the new-keyword, it does become the instance itself in all practicality.
The REAL dumb thing about this code though is that
1. it NEVER PASSED THE MYDESKTOP POINTER so in reality the compiler wouldn't even know what "desktop" is since the only thing passed was the "Image wallpaper"
2. the class should be called Desktop and by convention mydesktop should be the object
3. it returns a macro and it uses 3 full lines to do that when it could literally just use 1. You can argue it's for readability but you could just use inline comments and it would still be one line.