X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d43eb2a0d52d9cf09c73d596076d4fd8c81ef0df..30d54e2732fe66d65c76b65a092b52e712d7abb8:/include/wx/msw/toplevel.h?ds=inline diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index ff20508a5a..3938b96e62 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -52,7 +52,6 @@ public: virtual bool IsMaximized() const; virtual void Iconize(bool iconize = true); virtual bool IsIconized() const; - virtual void SetIcon(const wxIcon& icon); virtual void SetIcons(const wxIconBundle& icons ); virtual void Restore(); @@ -76,6 +75,12 @@ public: virtual bool SetTransparent(wxByte alpha); virtual bool CanSetTransparent(); + //Top level windows have different freeze semantics on Windows + virtual void Freeze(); + virtual void Thaw(); + + virtual void AddChild( wxWindowBase *child ); + // implementation from now on // -------------------------- @@ -108,6 +113,9 @@ public: // window proc for the frames WXLRESULT MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam); + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + protected: // common part of all ctors void Init(); @@ -129,8 +137,10 @@ protected: // override those to return the normal window coordinates even when the // window is minimized +#ifndef __WXWINCE__ virtual void DoGetPosition(int *x, int *y) const; virtual void DoGetSize(int *width, int *height) const; +#endif // __WXWINCE__ // is the window currently iconized?