If "Panel" is meant to be the predefined acknex struct, which is named "PANEL", it should be "PANEL *panel" instead of "Panel *panel".