- // Query app for menu item updates (called from OnIdle)
- void DoMenuUpdates();
- void DoMenuUpdates(wxMenu* menu, wxWindow* focusWin);
-
- WXHMENU GetWinMenu() const ;
-
- // Returns the origin of client area (may be different from (0,0) if the
- // frame has a toolbar)
- virtual wxPoint GetClientAreaOrigin() const;
-
- // Implementation only from here
- // event handlers
- bool MSWOnPaint();
- WXHICON MSWOnQueryDragIcon();
- void MSWOnSize(int x, int y, WXUINT flag);
- bool MSWOnCommand(WXWORD id, WXWORD cmd, WXHWND control);
- bool MSWOnClose();
- void MSWOnMenuHighlight(WXWORD item, WXWORD flags, WXHMENU sysmenu);
- bool MSWProcessMessage(WXMSG *msg);
- bool MSWTranslateMessage(WXMSG *msg);
- void MSWCreate(int id, wxWindow *parent, const char *wclass,
- wxWindow *wx_win, const char *title,
- int x, int y, int width, int height, long style);
-
- // tooltip management
-#if wxUSE_TOOLTIPS
- WXHWND GetToolTipCtrl() const { return m_hwndToolTip; }
- void SetToolTipCtrl(WXHWND hwndTT) { m_hwndToolTip = hwndTT; }
-#endif // tooltips
-
-protected:
- void DoGetClientSize(int *width, int *height) const;
- void DoGetSize(int *width, int *height) const ;
- void DoGetPosition(int *x, int *y) const ;