Non-Capital Losses from Self-Employment used against Net Capital Gains from Sale of Stock

I was self-employed for several years but ended my self employment in 2013. I had expenses that exceeded my income and claimed them accordingly and did see a reduction in my taxes as I also had full time employment.

However, are these losses year to year that exceeded my self-employment income considered non capital losses? And if they are considered non-capital losses can I apply this amount to my capital gains from the sale of equities?