document the wxWindow::Get/SetLayoutDirection functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2009-02-07 14:42:40 +00:00
parent 9a6aafe003
commit 51c0d02b65
2 changed files with 13 additions and 2 deletions

View File

@ -264,7 +264,8 @@ enum wxLanguage
/**
This is the layout direction stored in wxLanguageInfo and returned by
wxApp::GetLayoutDirection() for RTL (right-to-left) languages support.
wxApp::GetLayoutDirection(), wxWindow::GetLayoutDirection(),
wxDC::GetLayoutDirection() for RTL (right-to-left) languages support.
*/
enum wxLayoutDirection
{

View File

@ -2327,6 +2327,12 @@ public:
*/
virtual wxString GetLabel() const;
/**
Returns the layout direction for this window,
Note that @c wxLayout_Default is returned if layout direction is not supported.
*/
virtual wxLayoutDirection GetLayoutDirection() const;
/**
Returns the window's name.
@ -2365,6 +2371,11 @@ public:
*/
virtual void SetLabel(const wxString& label);
/**
Sets the layout direction for this window.
*/
virtual void SetLayoutDirection(wxLayoutDirection dir);
/**
Sets the window's name.
@ -2385,7 +2396,6 @@ public:
*/
void SetWindowVariant(wxWindowVariant variant);
/**
Gets the accelerator table for this window. See wxAcceleratorTable.
*/