// window proc for the frames
long MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
- // handle WM_INITMENU message
- bool HandleInitMenu();
+ // handle WM_INITMENUPOPUP message
+ bool HandleInitMenuPopup(WXHMENU hMenu);
virtual bool IsMDIChild() const { return FALSE; }