X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31bc4fa550b94b93218886bcafc0fdc29d49f622..53c9228ead0c7c0955bdc882fc2ccc9aae8342ba:/include/wx/os2/mdi.h diff --git a/include/wx/os2/mdi.h b/include/wx/os2/mdi.h index ba390372c1..a7d61b0cc3 100644 --- a/include/wx/os2/mdi.h +++ b/include/wx/os2/mdi.h @@ -16,9 +16,6 @@ #include "wx/frame.h" -WXDLLEXPORT_DATA(extern const char*) wxFrameNameStr; -WXDLLEXPORT_DATA(extern const char*) wxStatusLineNameStr; - class WXDLLEXPORT wxMDIClientWindow; class WXDLLEXPORT wxMDIChildFrame; @@ -64,7 +61,8 @@ public: // just return a new class) virtual wxMDIClientWindow *OnCreateClient(void); - WXHMENU GetWindowMenu() const { return m_windowMenu; } + wxMenu* GetWindowMenu() const { return m_windowMenu; } +// void SetWindowMenu(wxMwnu* pMenu); // MDI operations // -------------- @@ -86,9 +84,9 @@ public: bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control); // override window proc for MDI-specific message processing - virtual MRESULT OS2WindowProc(HWND hwnd, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); + virtual MRESULT OS2WindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); - virtual MRESULT OS2DefWindowProc(HWND hwnd, WXUINT, WXWPARAM, WXLPARAM); + virtual MRESULT OS2DefWindowProc(WXUINT, WXWPARAM, WXLPARAM); virtual bool OS2TranslateMessage(WXMSG* msg); protected: @@ -96,7 +94,7 @@ protected: wxMDIClientWindow * m_clientWindow; wxMDIChildFrame * m_currentChild; - WXHMENU m_windowMenu; + wxMenu* m_windowMenu; // TRUE if MDI Frame is intercepting commands, not child bool m_parentFrameActive; @@ -144,8 +142,8 @@ public: bool HandleWindowPosChanging(void *lpPos); bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control); - virtual MRESULT OS2WindowProc(HWND hwnd, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); - virtual MRESULT OS2DefWindowProc(HWND hwnd, WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + virtual MRESULT OS2WindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + virtual MRESULT OS2DefWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual bool OS2TranslateMessage(WXMSG *msg); virtual void OS2DestroyWindow();