X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a0e4ead1ecaba0eda898b0d80a7002654ec4baa..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/toplevel.h diff --git a/interface/wx/toplevel.h b/interface/wx/toplevel.h index d73afcbcbe..5ed806380b 100644 --- a/interface/wx/toplevel.h +++ b/interface/wx/toplevel.h @@ -125,7 +125,7 @@ public: /** A synonym for CentreOnScreen(). */ - void CenterOnScreen(int direction); + void CenterOnScreen(int direction = wxBOTH); /** Centres the window on screen. @@ -214,7 +214,7 @@ public: virtual void Iconize(bool iconize = true); /** - Returns @true if this window is currently active, i.e. if the user is + Returns @true if this window is currently active, i.e.\ if the user is currently working with it. */ virtual bool IsActive(); @@ -275,7 +275,7 @@ public: Returns a wxMenu pointer representing the system menu of the window under MSW. The returned wxMenu may be used, if non-@c NULL, to add - extra items to the system menu. The usual @c wxEVT_COMMAND_MENU_SELECTED + extra items to the system menu. The usual @c wxEVT_MENU events (that can be processed using @c EVT_MENU event table macro) will then be generated for them. All the other wxMenu methods may be used as well but notice that they won't allow you to access any standard system @@ -517,6 +517,13 @@ public: */ virtual void SetRepresentedFilename(const wxString& filename); + /** + Show the wxTopLevelWindow, but do not give it keyboard focus. This can be + used for pop up or notification windows that should not steal the current + focus. + */ + virtual void ShowWithoutActivating(); + /** Depending on the value of @a show parameter the window is either shown full screen or restored to its normal state. @a style is a bit list