One creates an object of type Display and one of the type GzDisplay, is this on purpose or is it a typo?
If it's a typo then there's no difference in regards to the code generated but the first method is preferred since there is no time in which the variable disp is in scope and uninitialized.