Interface fixes for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-08-14 05:11:59 +00:00
parent 49746f2306
commit 0c3140ca44
4 changed files with 77 additions and 0 deletions

View File

@@ -360,6 +360,26 @@ public:
container windows.
*/
virtual bool AcceptsFocusRecursively() const;
/**
Can this window itself have focus?
*/
bool IsFocusable() const;
/**
Can this window have focus right now?
If this method returns true, it means that calling SetFocus() will
put focus either to this window or one of its children, if you need
to know whether this window accepts focus itself, use IsFocusable()
*/
bool CanAcceptFocus() const;
/**
Can this window be assigned focus from keyboard right now?
*/
bool CanAcceptFocusFromKeyboard() const;
/**
Returns @true if the window (or in case of composite controls, its main
@@ -1897,6 +1917,9 @@ public:
*/
void SetOwnBackgroundColour(const wxColour& colour);
bool InheritsBackgroundColour() const;
bool UseBgCol() const;
/**
Sets the font of the window but prevents it from being inherited by the
children of this window.
@@ -2686,6 +2709,14 @@ public:
*/
virtual wxLayoutDirection GetLayoutDirection() const;
/**
Mirror coordinates for RTL layout if this window uses it and if the
mirroring is not done automatically like Win32.
*/
virtual wxCoord AdjustForLayoutDirection(wxCoord x,
wxCoord width,
wxCoord widthTotal) const;
/**
Returns the window's name.
@@ -3223,6 +3254,12 @@ public:
*/
virtual void OnInternalIdle();
/**
Send idle event to window and all subwindows. Returns true if more idle
time is requested.
*/
virtual bool SendIdleEvents(wxIdleEvent& event);
/**
Registers a system wide hotkey. Every time the user presses the hotkey
registered here, this window will receive a hotkey event.