/**
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
{
*/
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.
*/
virtual void SetLabel(const wxString& label);
+ /**
+ Sets the layout direction for this window.
+ */
+ virtual void SetLayoutDirection(wxLayoutDirection dir);
+
/**
Sets the window's name.
*/
void SetWindowVariant(wxWindowVariant variant);
-
/**
Gets the accelerator table for this window. See wxAcceleratorTable.
*/