- WXHMENU GetWindowMenu() const { return m_windowMenu; }
+// WXHMENU GetWindowHMENU() const { return m_windowMenu; }
+ wxMenu* GetWindowMenu() const { return m_windowMenu; };
+ void SetWindowMenu(wxMenu* menu) ;
// TRUE if MDI Frame is intercepting commands, not child
bool m_parentFrameActive;
// TRUE if MDI Frame is intercepting commands, not child
bool m_parentFrameActive;
long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxFrameNameStr)
{
long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxFrameNameStr)
{
Create(parent, id, title, pos, size, style, name);
}
Create(parent, id, title, pos, size, style, name);
}
bool HandleWindowPosChanging(void *lpPos);
bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control);
bool HandleWindowPosChanging(void *lpPos);
bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control);
protected:
virtual void DoGetPosition(int *x, int *y) const;
virtual void DoSetClientSize(int width, int height);
virtual void InternalSetMenuBar();
protected:
virtual void DoGetPosition(int *x, int *y) const;
virtual void DoSetClientSize(int width, int height);
virtual void InternalSetMenuBar();
public:
wxMDIClientWindow() { Init(); }
wxMDIClientWindow(wxMDIParentFrame *parent, long style = 0)
public:
wxMDIClientWindow() { Init(); }
wxMDIClientWindow(wxMDIParentFrame *parent, long style = 0)