X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97687291129883f7e5581cdbf1b5e79c5ec63bc4..6a5c9b3ff71334ed30bd9ae15425a1ca8ae71174:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 5a11d736ac..e6cd98d908 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -113,6 +113,9 @@ public: virtual void AddChild( wxWindowBase *child ); virtual void RemoveChild( wxWindowBase *child ); + virtual void SetLayoutDirection(wxLayoutDirection dir); + virtual wxLayoutDirection GetLayoutDirection() const; + // currently wxGTK2-only void SetDoubleBuffered(bool on); @@ -172,6 +175,10 @@ public: // base version just does GetEventHandler()->ProcessEvent() virtual bool GTKProcessEvent(wxEvent& event) const; + // Map GTK widget direction of the given widget to/from wxLayoutDirection + static wxLayoutDirection GTKGetLayout(GtkWidget *widget); + static void GTKSetLayout(GtkWidget *widget, wxLayoutDirection dir); + protected: // Override GTKWidgetNeedsMnemonic and return true if your // needs to set its mnemonic widget, such as for a