X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db101bd35296e100d490d3c033c0fdee32747e85..4652511f90ff770a99195d1d0fe016684fcf03af:/include/wx/palmos/toplevel.h diff --git a/include/wx/palmos/toplevel.h b/include/wx/palmos/toplevel.h index 9783f91ad6..9d2faa7655 100644 --- a/include/wx/palmos/toplevel.h +++ b/include/wx/palmos/toplevel.h @@ -81,19 +81,29 @@ public: void SetLastFocus(wxWindow *win) { m_winLastFocused = win; } wxWindow *GetLastFocus() const { return m_winLastFocused; } + // interface to native frame structure + FormType *GetForm() const; + + // handle native events + bool HandleControlSelect(EventType* event); + bool HandleControlRepeat(EventType* event); + bool HandleSize(EventType* event); + + virtual WXWINHANDLE GetWinHandle() const; + protected: // common part of all ctors void Init(); + // getting and setting sizes + virtual void DoGetSize( int *width, int *height ) const; + // common part of Iconize(), Maximize() and Restore() void DoShowWindow(int nShowCmd); // translate wxWidgets flags to Windows ones virtual WXDWORD PalmGetStyle(long flags, WXDWORD *exstyle) const; - // choose the right parent to use with CreateWindow() - virtual WXHWND PalmGetParent() const; - // is the window currently iconized? bool m_iconized;