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:
@@ -264,7 +264,8 @@ enum wxLanguage
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
This is the layout direction stored in wxLanguageInfo and returned by
|
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
|
enum wxLayoutDirection
|
||||||
{
|
{
|
||||||
|
@@ -2327,6 +2327,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual wxString GetLabel() const;
|
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.
|
Returns the window's name.
|
||||||
|
|
||||||
@@ -2365,6 +2371,11 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual void SetLabel(const wxString& label);
|
virtual void SetLabel(const wxString& label);
|
||||||
|
|
||||||
|
/**
|
||||||
|
Sets the layout direction for this window.
|
||||||
|
*/
|
||||||
|
virtual void SetLayoutDirection(wxLayoutDirection dir);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the window's name.
|
Sets the window's name.
|
||||||
|
|
||||||
@@ -2385,7 +2396,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void SetWindowVariant(wxWindowVariant variant);
|
void SetWindowVariant(wxWindowVariant variant);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the accelerator table for this window. See wxAcceleratorTable.
|
Gets the accelerator table for this window. See wxAcceleratorTable.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user