- // MDI operations
- virtual void Maximize();
- virtual void Restore();
- virtual void Activate();
-private:
- // supress virtual function hiding warning
- virtual void Maximize(bool maximize) { wxFrame::Maximize(maximize); };
+ // Handlers
+
+ bool HandleMDIActivate(long bActivate, WXHWND, WXHWND);
+ bool HandleSize(int x, int y, WXUINT);
+ bool HandleWindowPosChanging(void *lpPos);
+ bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control);
+
+ 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();
+
+ // Implementation
+ bool ResetWindowStyle(void *vrect);
+
+protected:
+ virtual void DoGetPosition(int *x, int *y) const;
+ virtual void DoSetClientSize(int width, int height);
+ virtual void InternalSetMenuBar();