Solved circular dependency issues with wxFrame, wxPanel, wxMenubar and wxDialog. Barebones wxDialog is working.