yes, you must specify full name
libwxmsw28.a
or not .a
wxmsw28
if you use .a the library name wont be auto completed (lib)wxmws28(.a)
This is about gcc compiler, the compiler option would be -lwxmsw28.a, so gcc understand thats the absolute name and search that file.
I think is better to use full names to avoid mistakes.