I am new to C++ and am curious..
Why does this compile but crash at runtime:
wxBitmap *bmp;
*bmp = wxNullBitmap; //wxNullBitmap is type wxBitmap with null data
when this would compile and run fine:
wxBitmap bmp;
bmp = wxNullBitmap;
Isn't it the same thing??